summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudio7Generator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-11-15 15:32:01 (GMT)
committerBrad King <brad.king@kitware.com>2017-11-15 15:47:07 (GMT)
commitc871446abc9f9f33bd302ed059037d719eb9e2d9 (patch)
tree7189bca12aad188ed10b739f1c98607891bf7266 /Source/cmLocalVisualStudio7Generator.cxx
parent1fe9e49bad0ad4f540ceda028106d9af89084946 (diff)
downloadCMake-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.cxx2
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(), "");
}