diff options
author | Brad King <brad.king@kitware.com> | 2021-05-26 14:36:07 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-05-28 18:27:38 (GMT) |
commit | 18e42d3e63f7807495be8fc4c2159629a30c1144 (patch) | |
tree | 3faa0bbf7e464bebfc9891b22f1ce80c7e48267e /Source/cmGeneratorExpressionNode.cxx | |
parent | 687326946bdf9ba2710f80fa854083c39c729992 (diff) | |
download | CMake-18e42d3e63f7807495be8fc4c2159629a30c1144.zip CMake-18e42d3e63f7807495be8fc4c2159629a30c1144.tar.gz CMake-18e42d3e63f7807495be8fc4c2159629a30c1144.tar.bz2 |
cmGeneratorExpressionNode: Constify local variable
Diffstat (limited to 'Source/cmGeneratorExpressionNode.cxx')
-rw-r--r-- | Source/cmGeneratorExpressionNode.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGeneratorExpressionNode.cxx b/Source/cmGeneratorExpressionNode.cxx index 7125170..8030b64 100644 --- a/Source/cmGeneratorExpressionNode.cxx +++ b/Source/cmGeneratorExpressionNode.cxx @@ -1681,7 +1681,7 @@ static const struct TargetObjectsNode : public cmGeneratorExpressionNode // Create the cmSourceFile instances in the referencing directory. cmMakefile* mf = context->LG->GetMakefile(); - for (std::string& o : objects) { + for (std::string const& o : objects) { mf->AddTargetObject(tgtName, o); } |