summaryrefslogtreecommitdiffstats
path: root/Source/cmVisualStudio10TargetGenerator.cxx
diff options
context:
space:
mode:
authorVitaly Stakhovsky <vvs31415@gitlab.org>2020-04-30 14:00:00 (GMT)
committerBrad King <brad.king@kitware.com>2020-04-30 14:27:16 (GMT)
commit53675adbcf2f485d68c45e53d28baf6db220264c (patch)
tree8d0d761714de6f0a8f7c512f1af05e2f6bde493b /Source/cmVisualStudio10TargetGenerator.cxx
parentc09efe074d793203ab846e97bde8d03e4714dc2a (diff)
downloadCMake-53675adbcf2f485d68c45e53d28baf6db220264c.zip
CMake-53675adbcf2f485d68c45e53d28baf6db220264c.tar.gz
CMake-53675adbcf2f485d68c45e53d28baf6db220264c.tar.bz2
GetSafeProperty: return std::string const&
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
-rw-r--r--Source/cmVisualStudio10TargetGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx
index 9c2b302..2b20a00 100644
--- a/Source/cmVisualStudio10TargetGenerator.cxx
+++ b/Source/cmVisualStudio10TargetGenerator.cxx
@@ -909,7 +909,7 @@ void cmVisualStudio10TargetGenerator::WriteDotNetReferenceCustomTags(
void cmVisualStudio10TargetGenerator::WriteDotNetDocumentationFile(Elem& e0)
{
- std::string const documentationFile =
+ std::string const& documentationFile =
this->GeneratorTarget->GetSafeProperty("VS_DOTNET_DOCUMENTATION_FILE");
if (this->ProjectType == csproj && !documentationFile.empty()) {