throw -> FMT_THROW

This commit is contained in:
Barry Revzin 2022-01-02 05:43:59 -06:00
parent 1fd23d1d9b
commit 890ad123ee

View File

@ -633,7 +633,7 @@ struct formatter<
if (it == end || *it == '}') return it;
if (*it != ':')
throw format_error("no top-level range formatters supported");
FMT_THROW(format_error("no top-level range formatters supported"));
custom_specs_ = true;
++it;