summaryrefslogtreecommitdiffstats
path: root/Source/cmFileLock.h
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 /Source/cmFileLock.h
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 'Source/cmFileLock.h')
-rw-r--r--Source/cmFileLock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmFileLock.h b/Source/cmFileLock.h
index 2b125af..94baea1 100644
--- a/Source/cmFileLock.h
+++ b/Source/cmFileLock.h
@@ -57,7 +57,7 @@ private:
BOOL LockFile(DWORD flags);
#else
int File = -1;
- int LockFile(int cmd, int type);
+ int LockFile(int cmd, int type) const;
#endif
std::string Filename;