Fix guard for constexpr tests

This commit is contained in:
Krystian Stasiowski
2020-02-02 23:26:47 -05:00
parent 9772809002
commit 479c10b193

View File

@ -11,7 +11,7 @@
#include <boost/static_string/static_string.hpp>
// char_traits aren't constexpr until c++17
#ifdef BOOST_STATIC_STRING_STANDARD_VERSION <= 201703L
#ifdef BOOST_STATIC_STRING_STANDARD_VERSION <= 201703L && BOOST_STATIC_STRING_STANDARD_VERSION >= 201402L
struct cxper_char_traits
{
using char_type = char;