mirror of
https://github.com/boostorg/optional.git
synced 2025-07-23 09:07:17 +02:00
fixed static_assert in a test
This commit is contained in:
@ -26,7 +26,7 @@ int main()
|
||||
#ifdef BOOST_OPTIONAL_CONFIG_NO_PROPER_ASSIGN_FROM_CONST_INT
|
||||
test_converting_assignment<const int, const int>();
|
||||
#else
|
||||
BOOST_STATIC_ASSERT(false, "EXPECTED TEST COMPILE-TIME FAILURE");
|
||||
BOOST_STATIC_ASSERT_MSG(false, "EXPECTED TEST COMPILE-TIME FAILURE");
|
||||
#endif
|
||||
return boost::report_errors();
|
||||
}
|
||||
|
Reference in New Issue
Block a user