summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGhsMultiGenerator.cxx
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2023-07-27 18:43:10 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2023-07-28 00:15:51 (GMT)
commitd4144b9c0a1a8a8f3a24ff33fc2582bb319d73ac (patch)
tree1fa5c411f938f8a5b9195f3b0b02ab60cc21dd11 /Source/cmGlobalGhsMultiGenerator.cxx
parent809248a0c9f3c2c203399d4cefe10a23cfc53add (diff)
downloadCMake-d4144b9c0a1a8a8f3a24ff33fc2582bb319d73ac.zip
CMake-d4144b9c0a1a8a8f3a24ff33fc2582bb319d73ac.tar.gz
CMake-d4144b9c0a1a8a8f3a24ff33fc2582bb319d73ac.tar.bz2
strings: use `emplace_back` with `cmStrCat` arguments
Diffstat (limited to 'Source/cmGlobalGhsMultiGenerator.cxx')
-rw-r--r--Source/cmGlobalGhsMultiGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalGhsMultiGenerator.cxx b/Source/cmGlobalGhsMultiGenerator.cxx
index 2453bfc..4ba53ec 100644
--- a/Source/cmGlobalGhsMultiGenerator.cxx
+++ b/Source/cmGlobalGhsMultiGenerator.cxx
@@ -670,7 +670,7 @@ bool cmGlobalGhsMultiGenerator::AddCheckTarget()
}
// Add the cache file.
- listFiles.push_back(cmStrCat(
+ listFiles.emplace_back(cmStrCat(
this->GetCMakeInstance()->GetHomeOutputDirectory(), "/CMakeCache.txt"));
// Print not implemented warning.