diff options
author | David Cole <david.cole@kitware.com> | 2012-06-21 15:53:43 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2012-06-21 15:53:43 (GMT) |
commit | 89cb1c3a06dfdc2a39f3b551e8d5f6649945df8b (patch) | |
tree | 17828500074d1a4ae0b00f58b7c754a702b8bf57 /Tests | |
parent | 78241729892638c4e8025c5cd866ee4da349a188 (diff) | |
parent | 96b66a49630d85abb5cf5d9779e7eb601a4fc8bb (diff) | |
download | CMake-89cb1c3a06dfdc2a39f3b551e8d5f6649945df8b.zip CMake-89cb1c3a06dfdc2a39f3b551e8d5f6649945df8b.tar.gz CMake-89cb1c3a06dfdc2a39f3b551e8d5f6649945df8b.tar.bz2 |
Merge topic 'run_compile_commands-aix-gcc-2.9'
96b66a4 Avoid string.clear and string.push_back (#13319)
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/CMakeLib/run_compile_commands.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/CMakeLib/run_compile_commands.cxx b/Tests/CMakeLib/run_compile_commands.cxx index 434cbee..dc1ce24 100644 --- a/Tests/CMakeLib/run_compile_commands.cxx +++ b/Tests/CMakeLib/run_compile_commands.cxx @@ -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(); } } |