summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-05-20 14:45:29 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-05-20 14:45:29 (GMT)
commitd1035bd5a54a523061ccae707e6a0ff193b9de09 (patch)
tree9b514694fcc3c4d5563baecd60383e89c0ffb37b /Source
parent96eb97f89e1dc3cb843fb5f50c7d48dc9fa0516b (diff)
downloadCMake-d1035bd5a54a523061ccae707e6a0ff193b9de09.zip
CMake-d1035bd5a54a523061ccae707e6a0ff193b9de09.tar.gz
CMake-d1035bd5a54a523061ccae707e6a0ff193b9de09.tar.bz2
cmTarget: Avoid copying container we don't need to copy.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmTarget.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index 86842a4..786021e 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -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)
{