Partially undo 6d4b94df13
for MSVC and C++98 compat
This commit is contained in:
parent
7b92f54929
commit
82bdb48dab
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user