diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2021-01-22 15:37:38 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2021-01-27 13:45:45 (GMT) |
commit | 808b17b1206dd70c7fbd676e8c24181cde537954 (patch) | |
tree | e20da218e1f9d702f4ff76fac9595740d375c3ed /Source/cmTimestamp.h | |
parent | 4470eb5179d6ccbe5e31cec758546e820752f2d8 (diff) | |
download | CMake-808b17b1206dd70c7fbd676e8c24181cde537954.zip CMake-808b17b1206dd70c7fbd676e8c24181cde537954.tar.gz CMake-808b17b1206dd70c7fbd676e8c24181cde537954.tar.bz2 |
clang-tidy: fix `readability-make-member-function-const` warnings
Diffstat (limited to 'Source/cmTimestamp.h')
-rw-r--r-- | Source/cmTimestamp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmTimestamp.h b/Source/cmTimestamp.h index 8941abe..0e2c200 100644 --- a/Source/cmTimestamp.h +++ b/Source/cmTimestamp.h @@ -14,11 +14,11 @@ class cmTimestamp { public: - std::string CurrentTime(const std::string& formatString, bool utcFlag); + std::string CurrentTime(const std::string& formatString, bool utcFlag) const; std::string FileModificationTime(const char* path, const std::string& formatString, - bool utcFlag); + bool utcFlag) const; std::string CreateTimestampFromTimeT(time_t timeT, std::string formatString, bool utcFlag) const; |