mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-14 10:47:59 +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.
|
||||
cmMakefile* mf = context->LG->GetMakefile();
|
||||
for (std::string& o : objects) {
|
||||
for (std::string const& o : objects) {
|
||||
mf->AddTargetObject(tgtName, o);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user