Cleanup error handling

This commit is contained in:
Victor Zverovich
2023-12-31 07:51:57 -08:00
parent 8e6b2541a6
commit 23826669cf
3 changed files with 32 additions and 45 deletions
+1 -1
View File
@@ -569,7 +569,7 @@ template <class charT> struct formatter<std::complex<double>, charT> {
basic_format_parse_context<charT>& ctx) {
auto end = parse_format_specs(ctx.begin(), ctx.end(), specs_, ctx,
detail::type::float_type);
detail::parse_float_type_spec(specs_, detail::error_handler());
detail::parse_float_type_spec(specs_);
return end;
}