Update static assert test and remove unneeded <string> include.

This commit is contained in:
Ion Gaztañaga committed 2021-01-02 22:47:19 +01:00
1 parent 2bd1a6f906
commit 95538bfdc2
2 files changed
+5 -6

No files matched your search

+4 -4
View File
@@ -577,8 +577,8 @@ int main()
typedef boost::container::allocator_traits<allocator_type>::pointer pointer;
BOOST_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),
(boost::has_trivial_destructor_after_move<allocator_type>::value &&
boost::has_trivial_destructor_after_move<pointer>::value)),
"has_trivial_destructor_after_move(default allocator) test failed");
}
// std::allocator
@@ -588,8 +588,8 @@ int main()
typedef boost::container::allocator_traits<allocator_type>::pointer pointer;
BOOST_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),
(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");
}