shut down VS C4324 warning

This commit is contained in:
joaquintides
2023-03-18 09:36:12 +01:00
committed by Christian Mazakas
parent fb4437219f
commit 25ba8e4dfc

View File

@ -102,6 +102,11 @@ private:
/* copied from boost/multi_index/detail/scoped_bilock.hpp */
#if defined(BOOST_MSVC)
#pragma warning(push)
#pragma warning(disable:4324) /* padded structure due to alignas */
#endif
template<typename Mutex>
class scoped_bilock
{
@ -130,6 +135,10 @@ private:
storage2[sizeof(lock_guard_type)];
};
#if defined(BOOST_MSVC)
#pragma warning(pop) /* C4324 */
#endif
/* TODO: describe atomic_integral and group_access */
template<typename Integral>