Optimize counting
This commit is contained in:
1 parent
6498bc6d31
commit
d39ebf3ff2
6 files changed
+23
-26
No files matched your search
@@ -469,8 +469,7 @@ OutputIt basic_printf_context<OutputIt, Char>::format() {
|
||||
|
||||
// Parse argument index, flags and width.
|
||||
unsigned arg_index = parse_header(it, end, specs);
|
||||
if (arg_index == 0)
|
||||
on_error("argument index out of range");
|
||||
if (arg_index == 0) on_error("argument index out of range");
|
||||
|
||||
// Parse precision.
|
||||
if (it != end && *it == '.') {
|
||||
|
||||
Reference in new issue
Block a user