Refactor float spec parsing

This commit is contained in:
Victor Zverovich
2019-11-18 05:10:11 -08:00
parent ed117baa4f
commit 56a2e2075c
2 changed files with 55 additions and 96 deletions

View File

@@ -666,8 +666,7 @@ struct formatter {
break;
case internal::double_type:
case internal::long_double_type:
handle_float_type_spec(type_spec,
internal::float_type_checker<decltype(eh)>(eh));
internal::parse_float_type_spec(type_spec, eh);
break;
case internal::cstring_type:
internal::handle_cstring_type_spec(