We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c99f44 commit c854fd7Copy full SHA for c854fd7
src/IO/JSON/JSONIOHandlerImpl.cpp
@@ -58,23 +58,7 @@ JSONIOHandlerImpl::JSONIOHandlerImpl(AbstractIOHandler *handler)
58
: AbstractIOHandlerImpl(handler)
59
{}
60
61
-JSONIOHandlerImpl::~JSONIOHandlerImpl()
62
-{
63
- // we must not throw in a destructor
64
- try
65
- {
66
- flush();
67
- }
68
- catch (std::exception const &ex)
69
70
- std::cerr << "[~JSONIOHandlerImpl] An error occurred: " << ex.what()
71
- << std::endl;
72
73
- catch (...)
74
75
- std::cerr << "[~JSONIOHandlerImpl] An error occurred." << std::endl;
76
77
-}
+JSONIOHandlerImpl::~JSONIOHandlerImpl() = default;
78
79
std::future<void> JSONIOHandlerImpl::flush()
80
{
0 commit comments