mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-23 07:28:51 -06:00
Use C++11 unordered containers
This commit is contained in:
@@ -4,10 +4,9 @@
|
||||
|
||||
#include <string>
|
||||
#include <time.h>
|
||||
#include <unordered_map>
|
||||
#include <utility>
|
||||
|
||||
#include "cm_unordered_map.hxx"
|
||||
|
||||
// Use a platform-specific API to get file times efficiently.
|
||||
#if !defined(_WIN32) || defined(__CYGWIN__)
|
||||
#include "cm_sys_stat.h"
|
||||
@@ -27,7 +26,7 @@ public:
|
||||
bool FileTimesDiffer(const char* f1, const char* f2);
|
||||
|
||||
private:
|
||||
typedef CM_UNORDERED_MAP<std::string, cmFileTimeComparison_Type>
|
||||
typedef std::unordered_map<std::string, cmFileTimeComparison_Type>
|
||||
FileStatsMap;
|
||||
FileStatsMap Files;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user