From 4aab0b78c3ddcbefa9351669d776dd2f831074b5 Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Wed, 11 Dec 2013 18:57:43 +0000 Subject: [PATCH] If we have a static_assert we should use it, even if there are no variadic macros. --- 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 10bb357..2d3ab04 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( B, Msg ) BOOST_STATIC_ASSERT( B ) +# define BOOST_STATIC_ASSERT_MSG( B, Msg ) static_assert( B, Msg ) # endif #else # define BOOST_STATIC_ASSERT_MSG( B, Msg ) BOOST_STATIC_ASSERT( B )