diff --git a/include/boost/container/string.hpp b/include/boost/container/string.hpp index 2adb0eb..07c174b 100644 --- a/include/boost/container/string.hpp +++ b/include/boost/container/string.hpp @@ -38,7 +38,6 @@ #include #include #include -#include #include #include @@ -51,7 +50,7 @@ #include #include -#include //char_traits +#include // for char_traits #include #include // #include diff --git a/test/string_test.cpp b/test/string_test.cpp index cef5732..258085b 100644 --- a/test/string_test.cpp +++ b/test/string_test.cpp @@ -577,8 +577,8 @@ int main() typedef boost::container::allocator_traits::pointer pointer; BOOST_STATIC_ASSERT_MSG ( (boost::has_trivial_destructor_after_move::value == - boost::has_trivial_destructor_after_move::value || - boost::has_trivial_destructor_after_move::value), + (boost::has_trivial_destructor_after_move::value && + boost::has_trivial_destructor_after_move::value)), "has_trivial_destructor_after_move(default allocator) test failed"); } // std::allocator @@ -588,8 +588,8 @@ int main() typedef boost::container::allocator_traits::pointer pointer; BOOST_STATIC_ASSERT_MSG ( (boost::has_trivial_destructor_after_move::value == - boost::has_trivial_destructor_after_move::value || - boost::has_trivial_destructor_after_move::value), + (boost::has_trivial_destructor_after_move::value && + boost::has_trivial_destructor_after_move::value)), "has_trivial_destructor_after_move(std::allocator) test failed"); }