diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2023-07-27 18:43:10 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2023-07-28 00:15:51 (GMT) |
commit | d4144b9c0a1a8a8f3a24ff33fc2582bb319d73ac (patch) | |
tree | 1fa5c411f938f8a5b9195f3b0b02ab60cc21dd11 /Source/cmGlobalVisualStudio12Generator.cxx | |
parent | 809248a0c9f3c2c203399d4cefe10a23cfc53add (diff) | |
download | CMake-d4144b9c0a1a8a8f3a24ff33fc2582bb319d73ac.zip CMake-d4144b9c0a1a8a8f3a24ff33fc2582bb319d73ac.tar.gz CMake-d4144b9c0a1a8a8f3a24ff33fc2582bb319d73ac.tar.bz2 |
strings: use `emplace_back` with `cmStrCat` arguments
Diffstat (limited to 'Source/cmGlobalVisualStudio12Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio12Generator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGlobalVisualStudio12Generator.cxx b/Source/cmGlobalVisualStudio12Generator.cxx index 6c72c5d..1f1a2c3 100644 --- a/Source/cmGlobalVisualStudio12Generator.cxx +++ b/Source/cmGlobalVisualStudio12Generator.cxx @@ -80,8 +80,8 @@ public: std::vector<std::string> GetGeneratorNamesWithPlatform() const override { std::vector<std::string> names; - names.push_back(cmStrCat(vs12generatorName, " ARM")); - names.push_back(cmStrCat(vs12generatorName, " Win64")); + names.emplace_back(cmStrCat(vs12generatorName, " ARM")); + names.emplace_back(cmStrCat(vs12generatorName, " Win64")); return names; } |