cmTarget: Avoid copying container we don't need to copy.

This commit is contained in:
Stephen Kelly 2014-05-20 16:45:29 +02:00
parent 96eb97f89e
commit d1035bd5a5
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{