From c06048a7af347bf843bf25bd305cbbf4d6cec266 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 21 Feb 2019 19:29:28 +0100 Subject: do less global memory fences in atomics --- options/scoped.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'options') diff --git a/options/scoped.cpp b/options/scoped.cpp index ef5b94d6..f5e219e2 100644 --- a/options/scoped.cpp +++ b/options/scoped.cpp @@ -10,7 +10,7 @@ namespace options { // XXX hack: the flag shouldn't be here as action at distance -sh 20160926 -static std::atomic teardown_flag{false}; +static std::atomic teardown_flag = false; [[nodiscard]] static bool set_teardown_flag(bool value); static void ensure_thread(); static bool is_tracker_teardown(); -- cgit v1.2.3