From 8912d413ba261ed4670490f130ceedac44ad9acc Mon Sep 17 00:00:00 2001 From: John Maddock Date: Mon, 8 Apr 2013 08:45:06 +0000 Subject: [PATCH] Fix for compilers that have no variadic macros but do have static_assert (are there any??) Fixes #8346. [SVN r83806] --- include/boost/static_assert.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/static_assert.hpp b/include/boost/static_assert.hpp index 256ca09..19366d9 100644 --- a/include/boost/static_assert.hpp +++ b/include/boost/static_assert.hpp @@ -30,7 +30,7 @@ # ifndef BOOST_NO_CXX11_VARIADIC_MACROS # define BOOST_STATIC_ASSERT_MSG( ... ) static_assert(__VA_ARGS__) # else -# define BOOST_STATIC_ASSERT_MSG( ... ) static_assert(__VA_ARGS__) +# define BOOST_STATIC_ASSERT_MSG( B, Msg ) BOOST_STATIC_ASSERT( B ) # endif #else # define BOOST_STATIC_ASSERT_MSG( B, Msg ) BOOST_STATIC_ASSERT( B )