From 18c30786a9a1444e726e23366dd9badb01f1d464 Mon Sep 17 00:00:00 2001 From: Sebastian Holtermann Date: Wed, 27 Mar 2019 15:19:28 +0100 Subject: cmFileTime: Make cmFileTime::Compare method const --- Source/cmFileTime.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit v0.12