Simplify parse context

This commit is contained in:
Victor Zverovich
2022-12-24 15:09:09 -08:00
parent 407e7b7b6d
commit d1745084e0
5 changed files with 41 additions and 49 deletions

View File

@ -469,7 +469,7 @@ template <class charT> struct formatter<std::complex<double>, charT> {
detail::specs_checker<handler_type> handler(handler_type(specs_, ctx),
detail::type::string_type);
auto it = parse_format_specs(ctx.begin(), ctx.end(), handler);
detail::parse_float_type_spec(specs_, ctx.error_handler());
detail::parse_float_type_spec(specs_, detail::error_handler());
return it;
}