summaryrefslogtreecommitdiff
path: root/Source/cmLocalUnixMakefileGenerator3.h
diff options
context:
space:
mode:
authorCengizhan Pasaoglu <cengizhanpasaoglu@gmail.com>2020-10-18 02:00:29 +0300
committerCengizhan Pasaoglu <cengizhanpasaoglu@gmail.com>2020-10-20 00:04:04 +0300
commitbd705788f67741df88bf153825a5943b4b518818 (patch)
tree356596cc5ca5d3f2ad2de7954257903301143bd8 /Source/cmLocalUnixMakefileGenerator3.h
parentc05e561474c422d23b9f1d29ccb5ceea0037477b (diff)
downloadcmake-bd705788f67741df88bf153825a5943b4b518818.tar.gz
Constify some code as suggested by clang-tidy
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator3.h')
-rw-r--r--Source/cmLocalUnixMakefileGenerator3.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.h b/Source/cmLocalUnixMakefileGenerator3.h
index 8286d673fc..5edca2add3 100644
--- a/Source/cmLocalUnixMakefileGenerator3.h
+++ b/Source/cmLocalUnixMakefileGenerator3.h
@@ -178,11 +178,11 @@ public:
/** Get whether to create rules to generate preprocessed and
assembly sources. This could be converted to a variable lookup
later. */
- bool GetCreatePreprocessedSourceRules()
+ bool GetCreatePreprocessedSourceRules() const
{
return !this->SkipPreprocessedSourceRules;
}
- bool GetCreateAssemblySourceRules()
+ bool GetCreateAssemblySourceRules() const
{
return !this->SkipAssemblySourceRules;
}