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/cmLocalGenerator.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/cmLocalGenerator.cxx')
-rw-r--r-- | Source/cmLocalGenerator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index b7ad78a..47e10e0 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -279,7 +279,7 @@ static void MoveSystemIncludesToEnd(std::vector<BT<std::string>>& includeDirs, }); } -void cmLocalGenerator::TraceDependencies() +void cmLocalGenerator::TraceDependencies() const { // Generate the rule files for each target. const auto& targets = this->GetGeneratorTargets(); @@ -3210,7 +3210,7 @@ std::string cmLocalGenerator::GetProjectName() const } std::string cmLocalGenerator::ConstructComment( - cmCustomCommandGenerator const& ccg, const char* default_comment) + cmCustomCommandGenerator const& ccg, const char* default_comment) const { // Check for a comment provided with the command. if (ccg.GetComment()) { |