arg_index -> arg_id

This commit is contained in:
Victor Zverovich
2017-11-26 09:29:55 -08:00
parent ac5f95208c
commit e0243000de
3 changed files with 29 additions and 34 deletions

View File

@@ -368,7 +368,7 @@ typename printf_context<Char, AF>::format_arg printf_context<Char, AF>::get_arg(
iterator it, unsigned arg_index) {
(void)it;
if (arg_index == std::numeric_limits<unsigned>::max())
return this->do_get_arg(this->next_arg_index());
return this->do_get_arg(this->next_arg_id());
return Base::get_arg(arg_index - 1);
}