diff options
author | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2015-04-14 19:11:26 -0700 |
---|---|---|
committer | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2015-04-14 19:11:26 -0700 |
commit | 2badcbb6743ff803c9cd82db77a1d8a50802058f (patch) | |
tree | 83d6753d930ea72bec96158b358433573a5ffae1 /docs/samples/save_stream.cpp | |
parent | e977f04fe221d56bac2f0f18d81a1934f6754cb5 (diff) |
Explicitly call xml_buffered_writer::flush()
If xml_writer::write throws an exception while being called from flush(), the
exception is thrown from destructor. Clang in C++11 mode calls std::terminate
in this case.
Diffstat (limited to 'docs/samples/save_stream.cpp')
0 files changed, 0 insertions, 0 deletions