From db41e7094699a17cb1709315277e030e1ecb435e 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 05ee3806ce88..c8158b7481bf 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.