diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-05-20 14:45:29 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-05-20 14:45:29 (GMT) |
commit | d1035bd5a54a523061ccae707e6a0ff193b9de09 (patch) | |
tree | 9b514694fcc3c4d5563baecd60383e89c0ffb37b /Source | |
parent | 96eb97f89e1dc3cb843fb5f50c7d48dc9fa0516b (diff) | |
download | CMake-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.cxx | 2 |
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) { |