projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8dbbc19
)
Fix C++11 NSDMI
author
Robin Gareus
<robin@gareus.org>
Wed, 31 Jul 2019 02:48:52 +0000
(
04:48
+0200)
committer
Robin Gareus
<robin@gareus.org>
Wed, 31 Jul 2019 02:48:52 +0000
(
04:48
+0200)
libs/pbd/pbd/spinlock.h
patch
|
blob
|
history
diff --git
a/libs/pbd/pbd/spinlock.h
b/libs/pbd/pbd/spinlock.h
index d8706c68c962a78a63fbbdba67aebf3b52f5b0d4..10ea846088030979a52565494eb5b6a8f0bf2a2e 100644
(file)
--- 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 ()