From 6dcda053a3660b71b8d1c4df9df4a963691a1f4d Mon Sep 17 00:00:00 2001 From: Krystian Stasiowski Date: Sun, 2 Feb 2020 23:59:51 -0500 Subject: [PATCH] Fix guards --- test/constexpr_tests.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/constexpr_tests.hpp b/test/constexpr_tests.hpp index 39ab8d5..f83126d 100644 --- a/test/constexpr_tests.hpp +++ b/test/constexpr_tests.hpp @@ -10,8 +10,8 @@ #include #include -// char_traits aren't constexpr until c++17 -#ifdef BOOST_STATIC_STRING_STANDARD_VERSION <= 201703L && BOOST_STATIC_STRING_STANDARD_VERSION >= 201402L +// char_traits aren't fully constexpr until c++20 +#if BOOST_STATIC_STRING_STANDARD_VERSION <= 201703L && BOOST_STATIC_STRING_STANDARD_VERSION >= 201402L struct cxper_char_traits { using char_type = char;