diff options
author | Cengizhan Pasaoglu <cengizhanpasaoglu@gmail.com> | 2020-10-17 23:00:29 (GMT) |
---|---|---|
committer | Cengizhan Pasaoglu <cengizhanpasaoglu@gmail.com> | 2020-10-19 21:04:04 (GMT) |
commit | bd705788f67741df88bf153825a5943b4b518818 (patch) | |
tree | 356596cc5ca5d3f2ad2de7954257903301143bd8 /Source/cmGlobalNinjaGenerator.cxx | |
parent | c05e561474c422d23b9f1d29ccb5ceea0037477b (diff) | |
download | CMake-bd705788f67741df88bf153825a5943b4b518818.zip CMake-bd705788f67741df88bf153825a5943b4b518818.tar.gz CMake-bd705788f67741df88bf153825a5943b4b518818.tar.bz2 |
Constify some code as suggested by clang-tidy
Diffstat (limited to 'Source/cmGlobalNinjaGenerator.cxx')
-rw-r--r-- | Source/cmGlobalNinjaGenerator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGlobalNinjaGenerator.cxx b/Source/cmGlobalNinjaGenerator.cxx index 9e25a54..9b27bc5 100644 --- a/Source/cmGlobalNinjaGenerator.cxx +++ b/Source/cmGlobalNinjaGenerator.cxx @@ -1057,7 +1057,7 @@ void cmGlobalNinjaGenerator::CloseCompileCommandsStream() } } -void cmGlobalNinjaGenerator::WriteDisclaimer(std::ostream& os) +void cmGlobalNinjaGenerator::WriteDisclaimer(std::ostream& os) const { os << "# CMAKE generated file: DO NOT EDIT!\n" << "# Generated by \"" << this->GetName() << "\"" @@ -1088,7 +1088,7 @@ std::string cmGlobalNinjaGenerator::OrderDependsTargetForTarget( void cmGlobalNinjaGenerator::AppendTargetOutputs( cmGeneratorTarget const* target, cmNinjaDeps& outputs, - const std::string& config, cmNinjaTargetDepends depends) + const std::string& config, cmNinjaTargetDepends depends) const { // for frameworks, we want the real name, not smple name // frameworks always appear versioned, and the build.ninja |