diff options
author | Robin Gareus <robin@gareus.org> | 2019-07-31 04:48:52 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-07-31 04:48:52 +0200 |
commit | 4a52a9b3b0bdbbe74eb424c97d2a176d769bf956 (patch) | |
tree | 769b9b6601ed251d2381a217257d3fd8e1513e54 | |
parent | 8dbbc195676e15c7d8ce6a17de3d370c90b8184e (diff) |
Fix C++11 NSDMI
-rw-r--r-- | libs/pbd/pbd/spinlock.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 () |