From 637bf3c6d92e6ab73390a93360a99733ff6f15ba Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Thu, 30 May 2019 11:46:31 -0700 Subject: [PATCH] Workaround a bug in clang-format --- include/fmt/core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fmt/core.h b/include/fmt/core.h index b9685b52..72fc739d 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -193,7 +193,7 @@ (defined(_MSVC_LANG) && _MSVC_LANG > 201402L && _MSC_VER >= 1910) # include # define FMT_STRING_VIEW std::basic_string_view -#elif FMT_HAS_INCLUDE() && __cplusplus >= 201402L +#elif FMT_HAS_INCLUDE("experimental/string_view") && __cplusplus >= 201402L # include # define FMT_STRING_VIEW std::experimental::basic_string_view #endif