summaryrefslogtreecommitdiffstats
path: root/Source/cmFileTime.h
diff options
context:
space:
mode:
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) {