From ffb4cafce1ea9c7a20ce73736049643da422cc75 Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Sun, 8 Aug 2021 20:14:54 +0100 Subject: [PATCH] Correct gcc version of BOOST_IS_CONSTANT_EVALUATED_INT(). --- include/boost/config/detail/suffix.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/config/detail/suffix.hpp b/include/boost/config/detail/suffix.hpp index ba61f95b..ddaeb368 100644 --- a/include/boost/config/detail/suffix.hpp +++ b/include/boost/config/detail/suffix.hpp @@ -1091,7 +1091,7 @@ namespace std{ using ::type_info; } #elif defined(BOOST_CONFIG_HAS_BUILTIN_IS_CONSTANT_EVALUATED) # define BOOST_IS_CONSTANT_EVALUATED_INT(integer) __builtin_is_constant_evaluated() #elif defined(BOOST_CONFIG_IS_CONST_EVALUATED_INT) -# define BOOST_IS_CONSTANT_EVALUATED_INT(integer) BOOST_IS_CONSTANT_EVALUATED_INT(integer) +# define BOOST_IS_CONSTANT_EVALUATED_INT(integer) BOOST_CONFIG_IS_CONST_EVALUATED_INT(integer) # define BOOST_IS_CONSTANT_EVALUATED_VERSION 1 #else # define BOOST_IS_CONSTANT_EVALUATED false