Fix C++11 NSDMI
This commit is contained in:
parent
8dbbc19567
commit
4a52a9b3b0
@ -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 ()
|
||||
|
Loading…
Reference in New Issue
Block a user