From 863aa6343333ca3b89208a89cfd89451510f11a3 Mon Sep 17 00:00:00 2001 From: vsol Date: Sat, 14 Mar 2020 19:28:43 +0300 Subject: [PATCH] trying to fix MSVC --- include/fmt/core.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/fmt/core.h b/include/fmt/core.h index 34ff3405..e4230347 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -1646,7 +1646,8 @@ template struct is_ref_wrapper> : std::true_type {}; template struct need_dyn_copy { - static constexpr auto mapped_type = mapped_type_constant::value; + static constexpr internal::type mapped_type = + mapped_type_constant::value; static_assert(mapped_type != internal::type::named_arg_type, "Bug indicator. Named arguments must be processed separately");