Replace ParseContext with basic_format_parse_context

Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
This commit is contained in:
Vladislav Shchapov 2022-07-30 00:40:02 +05:00 committed by Victor Zverovich
parent 24ab9dd19e
commit 6c9304b2c2

View File

@ -2049,8 +2049,8 @@ template <typename Char> struct formatter<std::tm, Char> {
}
public:
template <typename ParseContext>
FMT_CONSTEXPR auto parse(ParseContext& ctx) -> decltype(ctx.begin()) {
FMT_CONSTEXPR auto parse(basic_format_parse_context<Char>& ctx)
-> decltype(ctx.begin()) {
return this->do_parse(ctx.begin(), ctx.end());
}