From bc29f7ab626a4ac0386e1db9ab29b6103f9095e0 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Sun, 9 Jun 2013 12:02:07 +0000 Subject: [PATCH] Apply patch from 8644. Fixes #8644. [SVN r84713] --- include/boost/static_assert.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/include/boost/static_assert.hpp b/include/boost/static_assert.hpp index 256ca09..01186b7 100644 --- a/include/boost/static_assert.hpp +++ b/include/boost/static_assert.hpp @@ -183,6 +183,7 @@ template struct static_assert_test{}; enum { BOOST_JOIN(boost_static_assert_enum_, __LINE__) \ = sizeof(::boost::STATIC_ASSERTION_FAILURE< (bool)( __VA_ARGS__ ) >) } # else +# define BOOST_STATIC_ASSERT(B) \ enum { BOOST_JOIN(boost_static_assert_enum_, __LINE__) \ = sizeof(::boost::STATIC_ASSERTION_FAILURE< (bool)( B ) >) } # endif