summaryrefslogtreecommitdiff
path: root/Source/cmTimestamp.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmTimestamp.h')
-rw-r--r--Source/cmTimestamp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmTimestamp.h b/Source/cmTimestamp.h
index 8941abe1c1..0e2c20006e 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;