From bf57209f9e1c9f9f639c2d63c7674c3757750eb5 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 16 Dec 2016 16:08:06 +0200 Subject: Work around unexportable thread-local variables on Win32 --- butl/diagnostics.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'butl/diagnostics.cxx') 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 } -- cgit v1.1