summaryrefslogtreecommitdiffstats
path: root/Source/cmFileTimeComparison.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmFileTimeComparison.h')
-rw-r--r--Source/cmFileTimeComparison.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmFileTimeComparison.h b/Source/cmFileTimeComparison.h
index cc321f0..80ea409 100644
--- a/Source/cmFileTimeComparison.h
+++ b/Source/cmFileTimeComparison.h
@@ -7,8 +7,7 @@
#include "cmFileTime.h"
#include <string>
-
-class cmFileTimeComparisonInternal;
+#include <unordered_map>
/** \class cmFileTimeComparison
* \brief Caches file modification times in an internal map for fast lookups.
@@ -45,8 +44,9 @@ public:
*/
bool FileTimesDiffer(std::string const& f1, std::string const& f2);
-protected:
- cmFileTimeComparisonInternal* Internals;
+private:
+ typedef std::unordered_map<std::string, cmFileTime> FileTimeMap;
+ FileTimeMap FileTimes;
};
#endif