summaryrefslogtreecommitdiff
path: root/src/hash_map.hh
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/hash_map.hh
parent6373338c50a9431de7440b9274a079b4dc6c5755 (diff)
Replace IdMap with HashMap
Diffstat (limited to 'src/hash_map.hh')
-rw-r--r--src/hash_map.hh5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/hash_map.hh b/src/hash_map.hh
index bbe9f1f9..df8fd306 100644
--- a/src/hash_map.hh
+++ b/src/hash_map.hh
@@ -160,11 +160,6 @@ struct HashMap
HashCompatible<Key, typename std::decay<KeyType>::type>::value
>::type;
- // For IdMap inteface compatibility, to remove
- using Element = Item;
- Value& append(Item item) { return insert(std::move(item)); }
- static const String& get_id(const Element& e) { return e.key; }
-
template<typename KeyType, typename = EnableIfHashCompatible<KeyType>>
int find_index(const KeyType& key, size_t hash) const
{