diff options
| author | Maxime Coste <mawww@kakoune.org> | 2017-03-07 01:12:37 +0000 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2017-03-07 01:12:37 +0000 |
| commit | f0ae0b84102a0cb7d0dda0b8b7b1ba425d5d6eb7 (patch) | |
| tree | 0a38687f1796139771873cd760192af747baf4b4 /src/register_manager.cc | |
| parent | 6373338c50a9431de7440b9274a079b4dc6c5755 (diff) | |
Replace IdMap with HashMap
Diffstat (limited to 'src/register_manager.cc')
| -rw-r--r-- | src/register_manager.cc | 4 |
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", '|' }, |
