Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r81588 - trunk/boost
From: marshall_at_[hidden]
Date: 2012-11-27 09:30:10


Author: marshall
Date: 2012-11-27 09:30:10 EST (Tue, 27 Nov 2012)
New Revision: 81588
URL: http://svn.boost.org/trac/boost/changeset/81588

Log:
Removed missed usage of deprecated macros in Boost.StaticAssert
Text files modified:
   trunk/boost/static_assert.hpp | 6 +++---
   1 files changed, 3 insertions(+), 3 deletions(-)

Modified: trunk/boost/static_assert.hpp
==============================================================================
--- trunk/boost/static_assert.hpp (original)
+++ trunk/boost/static_assert.hpp 2012-11-27 09:30:10 EST (Tue, 27 Nov 2012)
@@ -17,7 +17,7 @@
 #include <boost/config.hpp>
 #include <boost/detail/workaround.hpp>
 
-#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 @@
    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
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk