mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-29 19:07:15 +02:00
extended shutting down VS C4324 warning
This commit is contained in:
committed by
Christian Mazakas
parent
a89c62728a
commit
454fc7501e
@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user