diff --git a/include/fmt/format.h b/include/fmt/format.h index b5ecdaeb..f47f6427 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -3062,10 +3062,9 @@ FMT_CONSTEXPR const typename ParseContext::char_type* parse_format_specs( ParseContext& ctx) { using char_type = typename ParseContext::char_type; using context = buffer_context; - using mapped_type = - conditional_t::value != - type::custom_type, - decltype(arg_mapper().map(std::declval())), T>; + using mapped_type = conditional_t< + detail::mapped_type_constant::value != type::custom_type, + decltype(arg_mapper().map(std::declval())), T>; auto f = conditional_t::value, formatter, detail::fallback_formatter>();