From 442b27c01914f2eebe9f9a5db80e91e8586ff854 Mon Sep 17 00:00:00 2001 From: Andrzej Krzemienski Date: Mon, 29 Feb 2016 00:56:29 +0100 Subject: [PATCH] fixed static_assert in a test --- test/optional_test_ref_convert_assign_const_int_prevented.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/optional_test_ref_convert_assign_const_int_prevented.cpp b/test/optional_test_ref_convert_assign_const_int_prevented.cpp index a08ca7a..7690d80 100644 --- a/test/optional_test_ref_convert_assign_const_int_prevented.cpp +++ b/test/optional_test_ref_convert_assign_const_int_prevented.cpp @@ -26,7 +26,7 @@ int main() #ifdef BOOST_OPTIONAL_CONFIG_NO_PROPER_ASSIGN_FROM_CONST_INT test_converting_assignment(); #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(); }