mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
Partially undo 6d4b94df13 for MSVC and C++98 compat
This commit is contained in:
parent
7b92f54929
commit
82bdb48dab
1 changed files with 2 additions and 1 deletions
|
|
@ -36,7 +36,8 @@ spinlock_t::spinlock_t ()
|
||||||
#else
|
#else
|
||||||
/* default C++ assign struct's first member */
|
/* 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
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue