From d1035bd5a54a523061ccae707e6a0ff193b9de09 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Tue, 20 May 2014 16:45:29 +0200 Subject: cmTarget: Avoid copying container we don't need to copy. --- Source/cmTarget.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 seenProps = cge->GetSeenTargetProperties(); + std::set const& seenProps = cge->GetSeenTargetProperties(); for (std::set::const_iterator it = seenProps.begin(); it != seenProps.end(); ++it) { -- cgit v0.12