From bd4ec497a878910837cc8260db1351dc544b8e42 Mon Sep 17 00:00:00 2001 From: "James E. King III" Date: Sun, 1 May 2022 07:49:04 -0400 Subject: [PATCH] Use BOOST_WORKAROUND when checking compiler level --- include/boost/mpl/assert.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/mpl/assert.hpp b/include/boost/mpl/assert.hpp index 2d7b209..a9fe1c7 100644 --- a/include/boost/mpl/assert.hpp +++ b/include/boost/mpl/assert.hpp @@ -184,7 +184,7 @@ template< typename P > struct assert_arg_pred_not typedef typename assert_arg_pred_impl

::type type; }; -#if defined(BOOST_GCC_VERSION) && BOOST_GCC_VERSION >= 80000 +#if BOOST_WORKAROUND(BOOST_GCC_VERSION, >= 80000) #define BOOST_MPL_IGNORE_PARENTHESES_WARNING #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wparentheses"