mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-28 04:09:35 +03: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