From 44cc0346519707402f233713575dbe544124835c Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sat, 7 Apr 2018 16:18:01 -0700 Subject: [PATCH] Relax string_view requirements --- include/fmt/core.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/fmt/core.h b/include/fmt/core.h index 4b59fe5d..dc766daf 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -161,10 +161,7 @@ (defined(_MSVC_LANG) && _MSVC_LANG > 201402L && _MSC_VER >= 1910) # include # define FMT_USE_STD_STRING_VIEW -// std::experimental::basic_string_view::remove_prefix isn't constexpr until -// gcc 7.3. #elif (FMT_HAS_INCLUDE() && \ - (FMT_GCC_VERSION == 0 || FMT_GCC_VERSION >= 730) && \ __cplusplus >= 201402L) # include # define FMT_USE_EXPERIMENTAL_STRING_VIEW