summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalNinjaGenerator.cxx
diff options
context:
space:
mode:
authorVitaly Stakhovsky <vvs31415@gitlab.org>2019-05-14 13:16:11 (GMT)
committerBrad King <brad.king@kitware.com>2019-05-15 14:20:05 (GMT)
commit23e8364aedcbeb7ce606b6075c98827e52f0c7f6 (patch)
tree66d765b7cc87c36b24efa83b4749ee0959863666 /Source/cmLocalNinjaGenerator.cxx
parente2d0aea2c734c8c5028f3573082e75bd157dbe72 (diff)
downloadCMake-23e8364aedcbeb7ce606b6075c98827e52f0c7f6.zip
CMake-23e8364aedcbeb7ce606b6075c98827e52f0c7f6.tar.gz
CMake-23e8364aedcbeb7ce606b6075c98827e52f0c7f6.tar.bz2
Source: std::string related cleanup
Diffstat (limited to 'Source/cmLocalNinjaGenerator.cxx')
-rw-r--r--Source/cmLocalNinjaGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalNinjaGenerator.cxx b/Source/cmLocalNinjaGenerator.cxx
index e6d4457..d9aafbf 100644
--- a/Source/cmLocalNinjaGenerator.cxx
+++ b/Source/cmLocalNinjaGenerator.cxx
@@ -69,7 +69,7 @@ void cmLocalNinjaGenerator::Generate()
this->WritePools(this->GetRulesFileStream());
- const std::string showIncludesPrefix =
+ const std::string& showIncludesPrefix =
this->GetMakefile()->GetSafeDefinition("CMAKE_CL_SHOWINCLUDES_PREFIX");
if (!showIncludesPrefix.empty()) {
cmGlobalNinjaGenerator::WriteComment(this->GetRulesFileStream(),