forked from boostorg/type_traits
Disabled warning 4121 (alignment sensitive to packing) on MSVC.
[SVN r13365]
This commit is contained in:
@ -22,6 +22,11 @@
|
||||
#include <boost/type_traits/transform_traits.hpp>
|
||||
#include <boost/static_assert.hpp>
|
||||
|
||||
#ifdef BOOST_MSVC
|
||||
# pragma warning(push)
|
||||
# pragma warning(disable: 4121) // alignment is sensitive to packing
|
||||
#endif
|
||||
|
||||
namespace boost{
|
||||
template <class T> struct alignment_of;
|
||||
|
||||
@ -190,4 +195,8 @@ public:
|
||||
|
||||
} // namespace boost
|
||||
|
||||
#ifdef BOOST_MSVC
|
||||
# pragma warning(pop)
|
||||
#endif
|
||||
|
||||
#endif // ALIGNMENT_TYPE_TRAITS_HPP
|
||||
|
Reference in New Issue
Block a user