summaryrefslogtreecommitdiff
path: root/libs/pbd/pbd
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2019-07-31 04:48:52 +0200
committerRobin Gareus <robin@gareus.org>2019-07-31 04:48:52 +0200
commit4a52a9b3b0bdbbe74eb424c97d2a176d769bf956 (patch)
tree769b9b6601ed251d2381a217257d3fd8e1513e54 /libs/pbd/pbd
parent8dbbc195676e15c7d8ce6a17de3d370c90b8184e (diff)
Fix C++11 NSDMI
Diffstat (limited to 'libs/pbd/pbd')
-rw-r--r--libs/pbd/pbd/spinlock.h2
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 ()