diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2021-01-22 10:37:38 -0500 |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2021-01-27 08:45:45 -0500 |
commit | 808b17b1206dd70c7fbd676e8c24181cde537954 (patch) | |
tree | e20da218e1f9d702f4ff76fac9595740d375c3ed /Tests/CMakeLib | |
parent | 4470eb5179d6ccbe5e31cec758546e820752f2d8 (diff) | |
download | cmake-808b17b1206dd70c7fbd676e8c24181cde537954.tar.gz |
clang-tidy: fix `readability-make-member-function-const` warnings
Diffstat (limited to 'Tests/CMakeLib')
-rw-r--r-- | Tests/CMakeLib/run_compile_commands.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CMakeLib/run_compile_commands.cxx b/Tests/CMakeLib/run_compile_commands.cxx index 0fd6cfbfd2..0ebe00e7d4 100644 --- a/Tests/CMakeLib/run_compile_commands.cxx +++ b/Tests/CMakeLib/run_compile_commands.cxx @@ -127,7 +127,7 @@ private: exit(1); } - bool IsWhitespace() + bool IsWhitespace() const { return (this->C == ' ' || this->C == '\t' || this->C == '\n' || this->C == '\r'); |