cmTarget: Avoid copying container we don't need to copy.
This commit is contained in:
parent
96eb97f89e
commit
d1035bd5a5
@ -1220,7 +1220,7 @@ void cmTarget::GetDirectLinkLibraries(const std::string& config,
|
||||
&dagChecker),
|
||||
libs);
|
||||
|
||||
std::set<std::string> seenProps = cge->GetSeenTargetProperties();
|
||||
std::set<std::string> const& seenProps = cge->GetSeenTargetProperties();
|
||||
for (std::set<std::string>::const_iterator it = seenProps.begin();
|
||||
it != seenProps.end(); ++it)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user