diff --git a/include/boost/static_string/config.hpp b/include/boost/static_string/config.hpp index 61f1097..2548cdf 100644 --- a/include/boost/static_string/config.hpp +++ b/include/boost/static_string/config.hpp @@ -160,7 +160,7 @@ defined(__clang__) && \ // cases, we use whatever will make more constexpr work. #if defined(__clang__) && \ ((defined(__GLIBCXX__) &&__GLIBCXX__ >= 20180726L \ -&& __GLIBCXX__ <= 20190812L) || defined(_MSC_VER)) +&& __GLIBCXX__ <= 20191102L) || defined(_MSC_VER)) #define BOOST_STATIC_STRING_NO_PTR_COMP_FUNCTIONS #endif diff --git a/include/boost/static_string/static_string.hpp b/include/boost/static_string/static_string.hpp index 90b7838..c7f4433 100644 --- a/include/boost/static_string/static_string.hpp +++ b/include/boost/static_string/static_string.hpp @@ -592,7 +592,8 @@ ptr_in_range( // of conformance, we will settle for the best option that is available. // We don't care about this in C++11, since this function would have // no applications in constant expressions. -#if defined(BOOST_STATIC_STRING_CPP14) && defined(BOOST_STATIC_STRING_NO_PTR_COMP_FUNCTIONS) +#if defined(BOOST_STATIC_STRING_CPP14) && \ +defined(BOOST_STATIC_STRING_NO_PTR_COMP_FUNCTIONS) #ifdef BOOST_STATIC_STRING_IS_CONST_EVAL // Our second best option is to use is_constant_evaluated // and a loop that checks for equality, since equality for