Protect struct POD definition with the same macro as the test

This commit is contained in:
Ion Gaztañaga committed 2024-05-28 10:51:33 +02:00
1 parent 2f0155224b
commit f46ee4391f
2 files changed
+4 -2

No files matched your search

+1 -1
View File
@@ -311,7 +311,7 @@ int map_test_range()
::boost::movelib::unique_ptr<MyBoostMap> const pboostmap = ::boost::movelib::make_unique<MyBoostMap>
( boost::make_move_iterator(&aux_vect[0])
, boost::make_move_iterator(&aux_vect[0] + MaxElem), typename MyBoostMap::allocator_type());
, boost::make_move_iterator(&aux_vect[0] + MaxElem));
::boost::movelib::unique_ptr<MyStdMap> const pstdmap = ::boost::movelib::make_unique<MyStdMap>
(&aux_vect2[0], &aux_vect2[0] + MaxElem, typename MyStdMap::key_compare());
if(!CheckEqualContainers(*pboostmap, *pstdmap)) return 1;