Don't use error_ in parse_arg_index.

This commit is contained in:
Victor Zverovich
2014-08-27 09:13:42 -07:00
parent da0f7c0a51
commit 9646e38c3b
2 changed files with 14 additions and 19 deletions
+2 -4
View File
@@ -845,11 +845,11 @@ class FormatterBase {
protected:
ArgList args_;
int next_arg_index_;
const char *error_;
const char *error_; // TODO: remove
FormatterBase() : error_(0) {}
const Arg &next_arg();
const Arg &next_arg(const char *&error);
const Arg &handle_arg_index(unsigned arg_index);
@@ -858,8 +858,6 @@ protected:
if (start != end)
w << BasicStringRef<Char>(start, end - start);
}
// TODO
};
// A printf formatter.