diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2017-08-22 21:05:27 (GMT) |
---|---|---|
committer | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2017-08-22 21:05:27 (GMT) |
commit | cbcfb79f9c38c1dac28e9353cc7d7e5efec0357f (patch) | |
tree | bc2a5bea4adc0805b5439679c90e52103348a23a /Source/cmFileTimeComparison.cxx | |
parent | 8a0ed37f617347a6c7c37c50a5321f05d678fa76 (diff) | |
download | CMake-cbcfb79f9c38c1dac28e9353cc7d7e5efec0357f.zip CMake-cbcfb79f9c38c1dac28e9353cc7d7e5efec0357f.tar.gz CMake-cbcfb79f9c38c1dac28e9353cc7d7e5efec0357f.tar.bz2 |
Use C++11 unordered containers
Diffstat (limited to 'Source/cmFileTimeComparison.cxx')
-rw-r--r-- | Source/cmFileTimeComparison.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmFileTimeComparison.cxx b/Source/cmFileTimeComparison.cxx index f591a8d..61e419c 100644 --- a/Source/cmFileTimeComparison.cxx +++ b/Source/cmFileTimeComparison.cxx @@ -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; |