Avoid string.clear and string.push_back (#13319)

Compiler "gcc version 2.9-aix51-020209" does not offer them.
This commit is contained in:
Daniel R. Gomez 2012-06-19 14:21:34 -04:00 committed by Brad King
parent 1d8199ffec
commit 96b66a4963
1 changed files with 2 additions and 2 deletions

View File

@ -63,12 +63,12 @@ private:
void ParseString()
{
this->String.clear();
this->String = "";
if(!Expect('"')) return;
while (!Expect('"'))
{
Expect('\\');
this->String.push_back(C);
this->String.append(1,C);
Next();
}
}