Partially undo 6d4b94df13 for MSVC and C++98 compat
This commit is contained in:
@@ -36,7 +36,8 @@ spinlock_t::spinlock_t ()
|
||||
#else
|
||||
/* default C++ assign struct's first member */
|
||||
{
|
||||
l = BOOST_DETAIL_SPINLOCK_INIT;
|
||||
boost::detail::spinlock init = BOOST_DETAIL_SPINLOCK_INIT;
|
||||
std::memcpy (&l, &init, sizeof (init));
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user