Merge topic 'run_compile_commands-aix-gcc-2.9'
96b66a4
Avoid string.clear and string.push_back (#13319)
This commit is contained in:
commit
89cb1c3a06
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue