From ce9e800db83fc039b76cbcafaafa8da5024a011d Mon Sep 17 00:00:00 2001 From: Marshall Clow Date: Tue, 27 Nov 2012 14:30:10 +0000 Subject: [PATCH] Removed missed usage of deprecated macros in Boost.StaticAssert [SVN r81588] --- include/boost/static_assert.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/boost/static_assert.hpp b/include/boost/static_assert.hpp index 9fe9bc0..0bc3ef6 100644 --- a/include/boost/static_assert.hpp +++ b/include/boost/static_assert.hpp @@ -17,7 +17,7 @@ #include #include -#ifndef BOOST_NO_STATIC_ASSERT +#ifndef BOOST_NO_CXX11_STATIC_ASSERT # define BOOST_STATIC_ASSERT_MSG( B, Msg ) static_assert(B, Msg) #else # define BOOST_STATIC_ASSERT_MSG( B, Msg ) BOOST_STATIC_ASSERT( B ) @@ -44,7 +44,7 @@ # define BOOST_STATIC_ASSERT_BOOL_CAST(x) (bool)(x) #endif -#ifndef BOOST_NO_STATIC_ASSERT +#ifndef BOOST_NO_CXX11_STATIC_ASSERT # define BOOST_STATIC_ASSERT( B ) static_assert(B, #B) #else @@ -131,7 +131,7 @@ template struct static_assert_test{}; enum { BOOST_JOIN(boost_static_assert_enum_, __LINE__) \ = sizeof(::boost::STATIC_ASSERTION_FAILURE< (bool)( B ) >) } #endif -#endif // defined(BOOST_NO_STATIC_ASSERT) +#endif // defined(BOOST_NO_CXX11_STATIC_ASSERT) #endif // BOOST_STATIC_ASSERT_HPP