mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-06 06:10:04 -05:00
Avoid string.clear and string.push_back (#13319)
Compiler "gcc version 2.9-aix51-020209" does not offer them.
This commit is contained in:
committed by
Brad King
parent
1d8199ffec
commit
96b66a4963
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user