mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-16 22:37:30 +08:00
cmGeneratorExpressionNode: Constify local variable
This commit is contained in:
@@ -1681,7 +1681,7 @@ static const struct TargetObjectsNode : public cmGeneratorExpressionNode
|
|||||||
|
|
||||||
// Create the cmSourceFile instances in the referencing directory.
|
// Create the cmSourceFile instances in the referencing directory.
|
||||||
cmMakefile* mf = context->LG->GetMakefile();
|
cmMakefile* mf = context->LG->GetMakefile();
|
||||||
for (std::string& o : objects) {
|
for (std::string const& o : objects) {
|
||||||
mf->AddTargetObject(tgtName, o);
|
mf->AddTargetObject(tgtName, o);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user