Fix the fix

This commit is contained in:
Rafał Lalik 2023-05-24 10:29:13 +02:00
parent 33971cce60
commit d3739c800e

View File

@ -155,7 +155,7 @@ For example::
if (it != end && (*it == 'f' || *it == 'e')) presentation = *it++;
// Check if reached the end of the range:
if (it != end && *it != '}') format_error("invalid format");
if (it != end && *it != '}') FMT_THROW(format_error("invalid format"));
// Return an iterator past the end of the parsed range:
return it;