From 4a52a9b3b0bdbbe74eb424c97d2a176d769bf956 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 31 Jul 2019 04:48:52 +0200 Subject: [PATCH] Fix C++11 NSDMI --- libs/pbd/pbd/spinlock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/pbd/pbd/spinlock.h b/libs/pbd/pbd/spinlock.h index d8706c68c9..10ea846088 100644 --- a/libs/pbd/pbd/spinlock.h +++ b/libs/pbd/pbd/spinlock.h @@ -41,7 +41,7 @@ public: /* C++11 non-static data member initialization, * with non-copyable std::atomic ATOMIC_FLAG_INIT */ - spinlock_t () : l (BOOST_DETAIL_SPINLOCK_INIT) {}; + spinlock_t () : l {BOOST_DETAIL_SPINLOCK_INIT} {}; #else /* default C++ assign struct's first member */ spinlock_t ()