summaryrefslogtreecommitdiffstats
path: root/Source/cmFileTime.h
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2019-03-27 14:19:28 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2019-03-27 17:09:53 (GMT)
commit18c30786a9a1444e726e23366dd9badb01f1d464 (patch)
tree98fc20153a8b9d43c0f7984e2ac78985f8d32a18 /Source/cmFileTime.h
parentc518f305bb8344e79cb2487f8bc0186a0b0c0336 (diff)
downloadCMake-18c30786a9a1444e726e23366dd9badb01f1d464.zip
CMake-18c30786a9a1444e726e23366dd9badb01f1d464.tar.gz
CMake-18c30786a9a1444e726e23366dd9badb01f1d464.tar.bz2
cmFileTime: Make cmFileTime::Compare method const
Diffstat (limited to 'Source/cmFileTime.h')
-rw-r--r--Source/cmFileTime.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmFileTime.h b/Source/cmFileTime.h
index 4c8e556..d4de4e0 100644
--- a/Source/cmFileTime.h
+++ b/Source/cmFileTime.h
@@ -50,7 +50,7 @@ public:
* @brief Compare file modification times.
* @return -1, 0, +1 for this older, same, or newer than ftm.
*/
- int Compare(cmFileTime const& ftm)
+ int Compare(cmFileTime const& ftm) const
{
NSC const diff = this->NS - ftm.NS;
if (diff == 0) {