summaryrefslogtreecommitdiff
path: root/src/shared_string.hh
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/shared_string.hh
parente9f93f1b2f0e650ab346596ee6b6bb6e90f55504 (diff)
Replace uses of UnorderedMap with HashMap
Diffstat (limited to 'src/shared_string.hh')
-rw-r--r--src/shared_string.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared_string.hh b/src/shared_string.hh
index b3906ea3..a2c0345a 100644
--- a/src/shared_string.hh
+++ b/src/shared_string.hh
@@ -4,7 +4,7 @@
#include "string.hh"
#include "ref_ptr.hh"
#include "utils.hh"
-#include "unordered_map.hh"
+#include "hash_map.hh"
#include <numeric>
@@ -53,7 +53,7 @@ public:
void remove(StringView str);
private:
- UnorderedMap<StringView, StringData*, MemoryDomain::SharedString> m_strings;
+ HashMap<StringView, StringData*, MemoryDomain::SharedString> m_strings;
};
static Ptr create(ArrayView<const StringView> strs);