Fixed #128 ("moved from small_vector and static_vector calls destructor on elements in static part")

This commit is contained in:
Ion Gaztañaga
2020-07-12 13:48:38 +02:00
parent 069351adfc
commit 2d9d28b81e
4 changed files with 13 additions and 5 deletions
+2 -4
View File
@@ -495,11 +495,9 @@ void test_swap_and_move_nd()
BOOST_TEST(v1.size() == N/2);
BOOST_TEST(s1.size() == N);
//iG moving does not imply emptying source
//BOOST_TEST(v2.size() == 0);
BOOST_TEST(v2.size() == 0);
BOOST_TEST(s2.size() == N);
//iG moving does not imply emptying source
//BOOST_TEST(v3.size() == 0);
BOOST_TEST(v3.size() == 0);
BOOST_TEST(s3.size() == N);
BOOST_TEST(v4.size() == N/2);
BOOST_TEST(s4.size() == N);