diff options
author | Brad King <brad.king@kitware.com> | 2017-11-15 15:32:01 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-11-15 15:47:07 (GMT) |
commit | c871446abc9f9f33bd302ed059037d719eb9e2d9 (patch) | |
tree | 7189bca12aad188ed10b739f1c98607891bf7266 /Source/cmLocalVisualStudio7Generator.cxx | |
parent | 1fe9e49bad0ad4f540ceda028106d9af89084946 (diff) | |
download | CMake-c871446abc9f9f33bd302ed059037d719eb9e2d9.zip CMake-c871446abc9f9f33bd302ed059037d719eb9e2d9.tar.gz CMake-c871446abc9f9f33bd302ed059037d719eb9e2d9.tar.bz2 |
cmSourceGroup: Return strings from GetName and GetFullName
Diffstat (limited to 'Source/cmLocalVisualStudio7Generator.cxx')
-rw-r--r-- | Source/cmLocalVisualStudio7Generator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx index beb80f2..f01ed7a 100644 --- a/Source/cmLocalVisualStudio7Generator.cxx +++ b/Source/cmLocalVisualStudio7Generator.cxx @@ -1600,7 +1600,7 @@ bool cmLocalVisualStudio7Generator::WriteGroup( } // If the group has a name, write the header. - std::string name = sg->GetName(); + std::string const& name = sg->GetName(); if (!name.empty()) { this->WriteVCProjBeginGroup(fout, name.c_str(), ""); } |