forked from boostorg/container
Remove Boost.StaticAsser dependency
This commit is contained in:
@@ -24,7 +24,6 @@
|
||||
#include "propagate_allocator_test.hpp"
|
||||
#include "check_equal_containers.hpp"
|
||||
#include "movable_int.hpp"
|
||||
#include <boost/static_assert.hpp>
|
||||
|
||||
#include <boost/algorithm/cxx14/equal.hpp>
|
||||
|
||||
@@ -4045,7 +4044,7 @@ int main()
|
||||
typedef boost::container::devector<int> cont;
|
||||
typedef cont::allocator_type allocator_type;
|
||||
typedef boost::container::allocator_traits<allocator_type>::pointer pointer;
|
||||
BOOST_STATIC_ASSERT_MSG(!(boost::has_trivial_destructor_after_move<cont>::value !=
|
||||
BOOST_CONTAINER_STATIC_ASSERT_MSG(!(boost::has_trivial_destructor_after_move<cont>::value !=
|
||||
boost::has_trivial_destructor_after_move<allocator_type>::value &&
|
||||
boost::has_trivial_destructor_after_move<pointer>::value)
|
||||
, "has_trivial_destructor_after_move(std::allocator) test failed");
|
||||
@@ -4055,7 +4054,7 @@ int main()
|
||||
typedef boost::container::devector<int, std::allocator<int> > cont;
|
||||
typedef cont::allocator_type allocator_type;
|
||||
typedef boost::container::allocator_traits<allocator_type>::pointer pointer;
|
||||
BOOST_STATIC_ASSERT_MSG(!(boost::has_trivial_destructor_after_move<cont>::value !=
|
||||
BOOST_CONTAINER_STATIC_ASSERT_MSG(!(boost::has_trivial_destructor_after_move<cont>::value !=
|
||||
boost::has_trivial_destructor_after_move<allocator_type>::value &&
|
||||
boost::has_trivial_destructor_after_move<pointer>::value)
|
||||
, "has_trivial_destructor_after_move(std::allocator) test failed");
|
||||
|
||||
Reference in New Issue
Block a user