summaryrefslogtreecommitdiff
path: root/src/input_handler.cc
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2017-03-07 00:30:54 +0000
committerMaxime Coste <mawww@kakoune.org>2017-03-07 01:03:26 +0000
commit6373338c50a9431de7440b9274a079b4dc6c5755 (patch)
tree2e4d3be457593b1ca23a5d19eb8b17232ed5fafa /src/input_handler.cc
parente9f93f1b2f0e650ab346596ee6b6bb6e90f55504 (diff)
Replace uses of UnorderedMap with HashMap
Diffstat (limited to 'src/input_handler.cc')
-rw-r--r--src/input_handler.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/input_handler.cc b/src/input_handler.cc
index 30851fdb..6cac4b27 100644
--- a/src/input_handler.cc
+++ b/src/input_handler.cc
@@ -11,7 +11,7 @@
#include "normal.hh"
#include "regex.hh"
#include "register_manager.hh"
-#include "unordered_map.hh"
+#include "hash_map.hh"
#include "user_interface.hh"
#include "utf8.hh"
#include "window.hh"
@@ -944,7 +944,7 @@ private:
PromptFlags m_flags;
using History = Vector<String, MemoryDomain::History>;
- static UnorderedMap<String, History, MemoryDomain::History> ms_history;
+ static HashMap<String, History, MemoryDomain::History> ms_history;
History::iterator m_history_it;
void history_push(History& history, StringView entry)
@@ -959,7 +959,7 @@ private:
history.push_back(entry.str());
}
};
-UnorderedMap<String, Prompt::History, MemoryDomain::History> Prompt::ms_history;
+HashMap<String, Prompt::History, MemoryDomain::History> Prompt::ms_history;
class NextKey : public InputMode
{