summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2022-06-14 23:11:33 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2022-06-14 23:27:30 (GMT)
commit52d47fd4e69fd69c3eb8dc837f137fdc26e2bac7 (patch)
treec5aa085afdb22ec0b270f8605734fb711fa46178 /Source
parenta8115deebe49565089af6477dc70f9085e988dc0 (diff)
downloadCMake-52d47fd4e69fd69c3eb8dc837f137fdc26e2bac7.zip
CMake-52d47fd4e69fd69c3eb8dc837f137fdc26e2bac7.tar.gz
CMake-52d47fd4e69fd69c3eb8dc837f137fdc26e2bac7.tar.bz2
cmGlobalNinjaGenerator: simplify a string building call
Diffstat (limited to 'Source')
-rw-r--r--Source/cmGlobalNinjaGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalNinjaGenerator.cxx b/Source/cmGlobalNinjaGenerator.cxx
index acaed36..fcd3b23 100644
--- a/Source/cmGlobalNinjaGenerator.cxx
+++ b/Source/cmGlobalNinjaGenerator.cxx
@@ -2517,7 +2517,7 @@ bool cmGlobalNinjaGenerator::WriteDyndepFile(
// Populate the module map with those provided by linked targets first.
for (std::string const& linked_target_dir : linked_target_dirs) {
std::string const ltmn =
- cmStrCat(linked_target_dir, "/", arg_lang, "Modules.json");
+ cmStrCat(linked_target_dir, '/', arg_lang, "Modules.json");
Json::Value ltm;
cmsys::ifstream ltmf(ltmn.c_str(), std::ios::in | std::ios::binary);
Json::Reader reader;