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");