mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-13 12:59:55 -05:00
GetSafeProperty: return std::string const&
This commit is contained in:
committed by
Brad King
parent
c09efe074d
commit
53675adbcf
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user