From 2520f410c82e7e7b630f39a6d9164e4bcbc029cd Mon Sep 17 00:00:00 2001 From: Max <53077323+mmarkeloff@users.noreply.github.com> Date: Thu, 2 Sep 2021 17:13:30 +0300 Subject: [PATCH] Workaround for #2478 (#2482) _MSC_VER 1911 (Visual Studio 2017 15.3) --- 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 c8158b74..3d32e3ec 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -88,7 +88,7 @@ // GCC doesn't allow throw in constexpr until version 6 (bug 67371). #ifndef FMT_USE_CONSTEXPR # define FMT_USE_CONSTEXPR \ - (FMT_HAS_FEATURE(cxx_relaxed_constexpr) || FMT_MSC_VER >= 1910 || \ + (FMT_HAS_FEATURE(cxx_relaxed_constexpr) || FMT_MSC_VER >= 1912 || \ (FMT_GCC_VERSION >= 600 && __cplusplus >= 201402L)) && \ !FMT_NVCC && !FMT_ICC_VERSION #endif