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 2647697 commit e66cb02Copy full SHA for e66cb02
src/IO/JSON/JSONIOHandlerImpl.cpp
@@ -57,23 +57,7 @@ JSONIOHandlerImpl::JSONIOHandlerImpl(AbstractIOHandler *handler)
57
: AbstractIOHandlerImpl(handler)
58
{}
59
60
-JSONIOHandlerImpl::~JSONIOHandlerImpl()
61
-{
62
- // we must not throw in a destructor
63
- try
64
- {
65
- flush();
66
- }
67
- catch (std::exception const &ex)
68
69
- std::cerr << "[~JSONIOHandlerImpl] An error occurred: " << ex.what()
70
- << std::endl;
71
72
- catch (...)
73
74
- std::cerr << "[~JSONIOHandlerImpl] An error occurred." << std::endl;
75
76
-}
+JSONIOHandlerImpl::~JSONIOHandlerImpl() = default;
77
78
std::future<void> JSONIOHandlerImpl::flush()
79
{
0 commit comments