throw -> FMT_THROW
This commit is contained in:
parent
1fd23d1d9b
commit
890ad123ee
@ -633,7 +633,7 @@ struct formatter<
|
|||||||
if (it == end || *it == '}') return it;
|
if (it == end || *it == '}') return it;
|
||||||
|
|
||||||
if (*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;
|
custom_specs_ = true;
|
||||||
++it;
|
++it;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user