From 15694c9a84f120e21ca3095ed0f989d5b704e796 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Tue, 3 Sep 2024 16:12:29 -0700 Subject: [PATCH] Workaround an MSVC bug --- include/fmt/base.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fmt/base.h b/include/fmt/base.h index 9b34edd0..4c00d729 100644 --- a/include/fmt/base.h +++ b/include/fmt/base.h @@ -1905,7 +1905,7 @@ template class buffer { template // Workaround for MSVC2019 to fix error C2893: Failed to specialize function // template 'void fmt::v11::detail::buffer::append(const U *,const U *)'. -#if !FMT_MSC_VERSION || FMT_MSC_VERSION >= 1930 +#if !FMT_MSC_VERSION || FMT_MSC_VERSION >= 1940 FMT_CONSTEXPR20 #endif void