BOOST_TEST_THROWS requires a semicolon after https://github.com/boostorg/core/pull/205

This commit is contained in:
Peter Dimov
2025-10-18 20:23:49 +03:00
parent a63b03286e
commit b9d0499a8f
2 changed files with 2 additions and 2 deletions

View File

@@ -45,7 +45,7 @@ void test()
variant<Y1, Y2> v1( in_place_type_t<Y1>{} );
variant<Y1, Y2> v2( in_place_type_t<Y2>{} );
BOOST_TEST_THROWS( v1 = v2, std::runtime_error )
BOOST_TEST_THROWS( v1 = v2, std::runtime_error );
}
int main()

View File

@@ -45,7 +45,7 @@ void test()
variant<Y1, Y2> v1( in_place_type_t<Y1>{} );
variant<Y1, Y2> v2( in_place_type_t<Y2>{} );
BOOST_TEST_THROWS( v1 = std::move( v2 ), std::runtime_error )
BOOST_TEST_THROWS( v1 = std::move( v2 ), std::runtime_error );
}
int main()