aboutsummaryrefslogtreecommitdiff
path: root/src/ptr_map.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ptr_map.cpp')
-rw-r--r--src/ptr_map.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ptr_map.cpp b/src/ptr_map.cpp
index 2387a2a20..0a61d300f 100644
--- a/src/ptr_map.cpp
+++ b/src/ptr_map.cpp
@@ -253,7 +253,7 @@ template <typename K, typename V>
PtrMapEntry<K, V> *multi_map_find_next(PtrMap<K, V> *h, PtrMapEntry<K, V> *e) {
isize i = e->next;
while (i != MAP_SENTINEL) {
- if (hash_key_equal(h->entries.data[i].key, e->key)) {
+ if (h->entries.data[i].key == e->key) {
return &h->entries.data[i];
}
i = h->entries.data[i].next;