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/cmDefinitions.h | |
parent | 8a0ed37f617347a6c7c37c50a5321f05d678fa76 (diff) | |
download | CMake-cbcfb79f9c38c1dac28e9353cc7d7e5efec0357f.zip CMake-cbcfb79f9c38c1dac28e9353cc7d7e5efec0357f.tar.gz CMake-cbcfb79f9c38c1dac28e9353cc7d7e5efec0357f.tar.bz2 |
Use C++11 unordered containers
Diffstat (limited to 'Source/cmDefinitions.h')
-rw-r--r-- | Source/cmDefinitions.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmDefinitions.h b/Source/cmDefinitions.h index ddb8918..528b157 100644 --- a/Source/cmDefinitions.h +++ b/Source/cmDefinitions.h @@ -6,10 +6,10 @@ #include "cmConfigure.h" // IWYU pragma: keep #include <string> +#include <unordered_map> #include <vector> #include "cmLinkedTree.h" -#include "cm_unordered_map.hxx" /** \class cmDefinitions * \brief Store a scope of variable definitions for CMake language. @@ -70,7 +70,7 @@ private: }; static Def NoDef; - typedef CM_UNORDERED_MAP<std::string, Def> MapType; + typedef std::unordered_map<std::string, Def> MapType; MapType Map; static Def const& GetInternal(const std::string& key, StackIter begin, |