From c951c0db9a868298fdea8f685f7f7022219acedc Mon Sep 17 00:00:00 2001 From: John Maddock Date: Sat, 8 Jun 2013 10:58:41 +0000 Subject: [PATCH] Apply patch from #8644. Refs #8644. [SVN r84686] --- 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 19366d9..d083a9c 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