diff --git a/include/fmt/chrono.h b/include/fmt/chrono.h index f74b9e1e..4440a4df 100644 --- a/include/fmt/chrono.h +++ b/include/fmt/chrono.h @@ -2049,8 +2049,8 @@ template struct formatter { } public: - template - FMT_CONSTEXPR auto parse(ParseContext& ctx) -> decltype(ctx.begin()) { + FMT_CONSTEXPR auto parse(basic_format_parse_context& ctx) + -> decltype(ctx.begin()) { return this->do_parse(ctx.begin(), ctx.end()); }