Merge topic 'run_compile_commands-aix-gcc-2.9'

96b66a4 Avoid string.clear and string.push_back (#13319)
This commit is contained in:
David Cole 2012-06-21 11:53:43 -04:00 committed by CMake Topic Stage
commit 89cb1c3a06
1 changed files with 2 additions and 2 deletions

View File

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