Fix C++11 NSDMI

This commit is contained in:
Robin Gareus 2019-07-31 04:48:52 +02:00
parent 8dbbc19567
commit 4a52a9b3b0
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -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 ()