extended shutting down VS C4324 warning

This commit is contained in:
joaquintides
2023-03-18 10:15:43 +01:00
committed by Christian Mazakas
parent a89c62728a
commit 454fc7501e

View File

@ -43,6 +43,11 @@ namespace unordered{
namespace detail{
namespace foa{
#if defined(BOOST_MSVC)
#pragma warning(push)
#pragma warning(disable:4324) /* padded structure due to alignas */
#endif
template<typename T>
struct alignas(64) cacheline_protected:T
{
@ -102,11 +107,6 @@ 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
{