forked from boostorg/type_traits
Disabled warning 4121 (alignment sensitive to packing) on MSVC.
[SVN r13365]
This commit is contained in:
1 parent
47f23f8b4f
commit
6c02c10d7e
1 file changed
+9
@@ -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