Fix the fix
This commit is contained in:
parent
33971cce60
commit
d3739c800e
@ -155,7 +155,7 @@ For example::
|
|||||||
if (it != end && (*it == 'f' || *it == 'e')) presentation = *it++;
|
if (it != end && (*it == 'f' || *it == 'e')) presentation = *it++;
|
||||||
|
|
||||||
// Check if reached the end of the range:
|
// 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 an iterator past the end of the parsed range:
|
||||||
return it;
|
return it;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user