mirror of
https://github.com/boostorg/container.git
synced 2026-01-19 04:02:17 +00:00
Fix unused variable warning when compiling without exceptions
This commit is contained in:
@@ -92,6 +92,7 @@ void test_support_for_initializer_list()
|
||||
BOOST_TEST_THROWS(sv.assign({1, 2, 3}), bad_alloc_t);
|
||||
|
||||
static_vector<int, 3> greaterThanSv = {1, 2, 3};
|
||||
BOOST_TEST(greaterThanSv.size() == 3u);
|
||||
BOOST_TEST_THROWS(sv = greaterThanSv, bad_alloc_t);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user