Refactor format string checks

This commit is contained in:
Victor Zverovich
2022-12-30 16:03:41 -08:00
parent 72785a3aba
commit a73a9b6a84
5 changed files with 125 additions and 221 deletions
+1 -1
View File
@@ -521,7 +521,7 @@ template <class charT> struct formatter<std::complex<double>, charT> {
FMT_CONSTEXPR typename basic_format_parse_context<charT>::iterator parse(
basic_format_parse_context<charT>& ctx) {
auto end = parse_format_specs(ctx.begin(), ctx.end(), specs_, ctx,
detail::type::string_type);
detail::type::float_type);
detail::parse_float_type_spec(specs_, detail::error_handler());
return end;
}