mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-30 11:27:15 +02:00
shut down VS C4324 warning
This commit is contained in:
committed by
Christian Mazakas
parent
fb4437219f
commit
25ba8e4dfc
@ -102,6 +102,11 @@ private:
|
|||||||
|
|
||||||
/* copied from boost/multi_index/detail/scoped_bilock.hpp */
|
/* 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>
|
template<typename Mutex>
|
||||||
class scoped_bilock
|
class scoped_bilock
|
||||||
{
|
{
|
||||||
@ -130,6 +135,10 @@ private:
|
|||||||
storage2[sizeof(lock_guard_type)];
|
storage2[sizeof(lock_guard_type)];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#if defined(BOOST_MSVC)
|
||||||
|
#pragma warning(pop) /* C4324 */
|
||||||
|
#endif
|
||||||
|
|
||||||
/* TODO: describe atomic_integral and group_access */
|
/* TODO: describe atomic_integral and group_access */
|
||||||
|
|
||||||
template<typename Integral>
|
template<typename Integral>
|
||||||
|
Reference in New Issue
Block a user