summaryrefslogtreecommitdiffstats
path: root/Source/cmState.h
diff options
context:
space:
mode:
authorOleksandr Koval <oleksandr.koval.dev@gmail.com>2020-09-11 17:31:11 (GMT)
committerOleksandr Koval <oleksandr.koval.dev@gmail.com>2020-09-11 17:31:11 (GMT)
commit967792a6627a5c01d8461b80bc11b235e35003c6 (patch)
tree01b9484523eef94db4b5b36e58a9b293bba77f8c /Source/cmState.h
parent907a3de1c4c059410f7f479be1217126f5924869 (diff)
downloadCMake-967792a6627a5c01d8461b80bc11b235e35003c6.zip
CMake-967792a6627a5c01d8461b80bc11b235e35003c6.tar.gz
CMake-967792a6627a5c01d8461b80bc11b235e35003c6.tar.bz2
cmState: store commands in unordered_map
Diffstat (limited to 'Source/cmState.h')
-rw-r--r--Source/cmState.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmState.h b/Source/cmState.h
index 14870eb..dc3ba65 100644
--- a/Source/cmState.h
+++ b/Source/cmState.h
@@ -5,10 +5,10 @@
#include "cmConfigure.h" // IWYU pragma: keep
#include <functional>
-#include <map>
#include <memory>
#include <set>
#include <string>
+#include <unordered_map>
#include <vector>
#include "cmDefinitions.h"
@@ -219,8 +219,8 @@ private:
cmPropertyDefinitionMap PropertyDefinitions;
std::vector<std::string> EnabledLanguages;
- std::map<std::string, Command> BuiltinCommands;
- std::map<std::string, Command> ScriptedCommands;
+ std::unordered_map<std::string, Command> BuiltinCommands;
+ std::unordered_map<std::string, Command> ScriptedCommands;
cmPropertyMap GlobalProperties;
std::unique_ptr<cmCacheManager> CacheManager;
std::unique_ptr<cmGlobVerificationManager> GlobVerificationManager;