aboutsummaryrefslogtreecommitdiff
path: root/butl/diagnostics.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'butl/diagnostics.cxx')
-rw-r--r--butl/diagnostics.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/butl/diagnostics.cxx b/butl/diagnostics.cxx
index ad84810..9d74747 100644
--- a/butl/diagnostics.cxx
+++ b/butl/diagnostics.cxx
@@ -39,7 +39,7 @@ namespace butl
// mechanism in destructors, which is not a big deal, except for one
// place: exception_guard. Thus the ugly special check.
//
- if (!std::uncaught_exception () || exception_unwinding_dtor)
+ if (!std::uncaught_exception () || exception_unwinding_dtor ())
flush ();
#endif
}