From 541beb615b745b45f2cc82813014a3e04f1a3231 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Fri, 5 Nov 2021 17:13:07 +0000 Subject: Move more things to `PtrMap` --- src/ptr_map.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ptr_map.cpp') 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 PtrMapEntry *multi_map_find_next(PtrMap *h, PtrMapEntry *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; -- cgit v1.2.3