From ee63f5f04e94d1343f693a1223b01a435ff6eae8 Mon Sep 17 00:00:00 2001 From: Vladislav Shchapov Date: Tue, 31 Aug 2021 19:54:42 +0500 Subject: [PATCH] Workaround to MSVC bug (#2474) (#2476) --- include/fmt/core.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/fmt/core.h b/include/fmt/core.h index 05ee3806..c8158b74 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -1371,10 +1371,10 @@ template struct arg_mapper { } template > - using formattable = - bool_constant() || - !std::is_const>::value || - has_fallback_formatter::value>; + struct formattable + : bool_constant() || + !std::is_const>::value || + has_fallback_formatter::value> {}; #if FMT_MSC_VER != 0 && FMT_MSC_VER < 1910 // Workaround a bug in MSVC.