Skip to content

Commit

Permalink
throw -> FMT_THROW
Browse files Browse the repository at this point in the history
  • Loading branch information
brevzin committed Jan 2, 2022
1 parent 555ae3e commit cdfd111
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/fmt/ranges.h
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,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;
Expand Down

0 comments on commit cdfd111

Please sign in to comment.