diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-10-30 18:50:19 (GMT) |
---|---|---|
committer | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-10-30 18:50:19 (GMT) |
commit | 5214bb354b508cafc859b4a05b4e5f8ed44767e0 (patch) | |
tree | fbf3447860426ec363b14e548b4fec709b6ea12d /Source/cmGlobalUnixMakefileGenerator3.cxx | |
parent | 602b78aa79f6d99e775fa0a84fb441156d192833 (diff) | |
download | CMake-5214bb354b508cafc859b4a05b4e5f8ed44767e0.zip CMake-5214bb354b508cafc859b4a05b4e5f8ed44767e0.tar.gz CMake-5214bb354b508cafc859b4a05b4e5f8ed44767e0.tar.bz2 |
Avoid some copies
Diffstat (limited to 'Source/cmGlobalUnixMakefileGenerator3.cxx')
-rw-r--r-- | Source/cmGlobalUnixMakefileGenerator3.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalUnixMakefileGenerator3.cxx b/Source/cmGlobalUnixMakefileGenerator3.cxx index 17d49e8..90caaf9 100644 --- a/Source/cmGlobalUnixMakefileGenerator3.cxx +++ b/Source/cmGlobalUnixMakefileGenerator3.cxx @@ -963,7 +963,7 @@ void cmGlobalUnixMakefileGenerator3::WriteHelpRule( (type == cmStateEnums::OBJECT_LIBRARY) || (type == cmStateEnums::GLOBAL_TARGET) || (type == cmStateEnums::UTILITY)) { - std::string name = target->GetName(); + std::string const& name = target->GetName(); if (emittedTargets.insert(name).second) { path = "... "; path += name; |