|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r59698 - trunk/boost
From: bdawes_at_[hidden]
Date: 2010-02-16 07:45:54
Author: bemandawes
Date: 2010-02-16 07:45:53 EST (Tue, 16 Feb 2010)
New Revision: 59698
URL: http://svn.boost.org/trac/boost/changeset/59698
Log:
Use BOOST_NO_STATIC_ASSERT
Text files modified:
trunk/boost/static_assert.hpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: trunk/boost/static_assert.hpp
==============================================================================
--- trunk/boost/static_assert.hpp (original)
+++ trunk/boost/static_assert.hpp 2010-02-16 07:45:53 EST (Tue, 16 Feb 2010)
@@ -38,7 +38,7 @@
# define BOOST_STATIC_ASSERT_BOOL_CAST(x) (bool)(x)
#endif
-#ifdef BOOST_HAS_STATIC_ASSERT
+#ifndef BOOST_NO_STATIC_ASSERT
# define BOOST_STATIC_ASSERT( B ) static_assert(B, #B)
#else
@@ -125,7 +125,7 @@
enum { BOOST_JOIN(boost_static_assert_enum_, __LINE__) \
= sizeof(::boost::STATIC_ASSERTION_FAILURE< (bool)( B ) >) }
#endif
-#endif // ndef BOOST_HAS_STATIC_ASSERT
+#endif // defined(BOOST_NO_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