Skip to content

Commit d8620c7

Browse files
committed
Test new_delete_resource overalignment in all platforms
1 parent ae9265d commit d8620c7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/new_delete_resource_test.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
#include <boost/container/pmr/global_resource.hpp>
1313
#include <boost/container/pmr/memory_resource.hpp>
1414
#include <boost/container/pmr/vector.hpp>
15+
#include <boost/container/detail/operator_new_helpers.hpp>
1516

1617
#include <cstddef>
1718
#include <cstring>
@@ -252,9 +253,7 @@ int main()
252253
test_allocate_default_alignment();
253254
test_allocate_various_sizes();
254255
test_allocate_with_alignment();
255-
#ifdef BOOST_CONTAINER_ALIGNED_NEW_PRESENT
256256
test_allocate_over_aligned();
257-
#endif
258257
test_is_equal_same();
259258
test_is_equal_different();
260259
test_equality_operators();

0 commit comments

Comments
 (0)