summaryrefslogtreecommitdiff
path: root/src/register_manager.cc
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2017-03-07 01:12:37 +0000
committerMaxime Coste <mawww@kakoune.org>2017-03-07 01:12:37 +0000
commitf0ae0b84102a0cb7d0dda0b8b7b1ba425d5d6eb7 (patch)
tree0a38687f1796139771873cd760192af747baf4b4 /src/register_manager.cc
parent6373338c50a9431de7440b9274a079b4dc6c5755 (diff)
Replace IdMap with HashMap
Diffstat (limited to 'src/register_manager.cc')
-rw-r--r--src/register_manager.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/register_manager.cc b/src/register_manager.cc
index d2133e95..ff8cd1ba 100644
--- a/src/register_manager.cc
+++ b/src/register_manager.cc
@@ -1,7 +1,7 @@
#include "register_manager.hh"
#include "assert.hh"
-#include "id_map.hh"
+#include "hash_map.hh"
namespace Kakoune
{
@@ -11,7 +11,7 @@ Register& RegisterManager::operator[](StringView reg) const
if (reg.length() == 1)
return (*this)[reg[0_byte]];
- static const IdMap<Codepoint> reg_names = {
+ static const HashMap<String, Codepoint> reg_names = {
{ "slash", '/' },
{ "dquote", '"' },
{ "pipe", '|' },