Skip to content

Commit db43fc9

Browse files
committed
Fix unused variable warning when compiling without exceptions
1 parent ccc9efc commit db43fc9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/static_vector_test.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ void test_support_for_initializer_list()
9292
BOOST_TEST_THROWS(sv.assign({1, 2, 3}), bad_alloc_t);
9393

9494
static_vector<int, 3> greaterThanSv = {1, 2, 3};
95+
BOOST_TEST(greaterThanSv.size() == 3u);
9596
BOOST_TEST_THROWS(sv = greaterThanSv, bad_alloc_t);
9697
}
9798

0 commit comments

Comments
 (0)