mirror of
https://github.com/boostorg/optional.git
synced 2025-07-24 01:27:23 +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
|
#ifdef BOOST_OPTIONAL_CONFIG_NO_PROPER_ASSIGN_FROM_CONST_INT
|
||||||
test_converting_assignment<const int, const int>();
|
test_converting_assignment<const int, const int>();
|
||||||
#else
|
#else
|
||||||
BOOST_STATIC_ASSERT(false, "EXPECTED TEST COMPILE-TIME FAILURE");
|
BOOST_STATIC_ASSERT_MSG(false, "EXPECTED TEST COMPILE-TIME FAILURE");
|
||||||
#endif
|
#endif
|
||||||
return boost::report_errors();
|
return boost::report_errors();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user