summaryrefslogtreecommitdiff
path: root/tests/test_xpath_api.cpp
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2015-04-14 19:11:26 -0700
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2015-04-14 19:11:26 -0700
commit2badcbb6743ff803c9cd82db77a1d8a50802058f (patch)
tree83d6753d930ea72bec96158b358433573a5ffae1 /tests/test_xpath_api.cpp
parente977f04fe221d56bac2f0f18d81a1934f6754cb5 (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 'tests/test_xpath_api.cpp')
0 files changed, 0 insertions, 0 deletions