Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r65259 - sandbox/chrono/boost/chrono/detail
From: vicente.botet_at_[hidden]
Date: 2010-09-04 12:04:29


Author: viboes
Date: 2010-09-04 12:04:28 EDT (Sat, 04 Sep 2010)
New Revision: 65259
URL: http://svn.boost.org/trac/boost/changeset/65259

Log:
USES_ARRAY_ASSERT default assertion
Text files modified:
   sandbox/chrono/boost/chrono/detail/static_assert.hpp | 6 +++---
   1 files changed, 3 insertions(+), 3 deletions(-)

Modified: sandbox/chrono/boost/chrono/detail/static_assert.hpp
==============================================================================
--- sandbox/chrono/boost/chrono/detail/static_assert.hpp (original)
+++ sandbox/chrono/boost/chrono/detail/static_assert.hpp 2010-09-04 12:04:28 EDT (Sat, 04 Sep 2010)
@@ -21,10 +21,10 @@
 #include <boost/mpl/bool.hpp>
 #define BOOST_CHRONO_STATIC_ASSERT(CND, MSG, TYPES) \
     BOOST_MPL_ASSERT_MSG(boost::mpl::bool_< (CND) >::type::value, MSG, TYPES)
-#elif defined(BOOST_CHRONO_USES_ARRAY_ASSERT)
-#define BOOST_CHRONO_STATIC_ASSERT(CND, MSG, TYPES) static char BOOST_JOIN(boost_chrono_test_,__LINE__)[CND]
 #else
-#define BOOST_CHRONO_STATIC_ASSERT(CND, MSG, TYPES)
+//~ #elif defined(BOOST_CHRONO_USES_ARRAY_ASSERT)
+#define BOOST_CHRONO_STATIC_ASSERT(CND, MSG, TYPES) static char BOOST_JOIN(boost_chrono_test_,__LINE__)[CND]
+//~ #define BOOST_CHRONO_STATIC_ASSERT(CND, MSG, TYPES)
 #endif
 
 #endif // BOOST_CHRONO_DETAIL_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