summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2021-01-22 15:37:38 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2021-01-27 13:45:45 (GMT)
commit808b17b1206dd70c7fbd676e8c24181cde537954 (patch)
treee20da218e1f9d702f4ff76fac9595740d375c3ed /Tests
parent4470eb5179d6ccbe5e31cec758546e820752f2d8 (diff)
downloadCMake-808b17b1206dd70c7fbd676e8c24181cde537954.zip
CMake-808b17b1206dd70c7fbd676e8c24181cde537954.tar.gz
CMake-808b17b1206dd70c7fbd676e8c24181cde537954.tar.bz2
clang-tidy: fix `readability-make-member-function-const` warnings
Diffstat (limited to 'Tests')
-rw-r--r--Tests/CMakeLib/run_compile_commands.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CMakeLib/run_compile_commands.cxx b/Tests/CMakeLib/run_compile_commands.cxx
index 0fd6cfb..0ebe00e 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');