diff --git a/include/fmt/chrono.h b/include/fmt/chrono.h index 4b9aeeb1..1b71131d 100644 --- a/include/fmt/chrono.h +++ b/include/fmt/chrono.h @@ -413,7 +413,8 @@ struct formatter, Char> }; template struct formatter { - FMT_CONSTEXPR auto parse(format_parse_context& ctx) -> decltype(ctx.begin()) { + template + FMT_CONSTEXPR auto parse(ParseContext& ctx) -> decltype(ctx.begin()) { auto it = ctx.begin(); if (it != ctx.end() && *it == ':') ++it; auto end = it;