Fix map.c3

This commit is contained in:
Christoffer Lerno
2022-12-03 22:07:04 +01:00
parent 299ec1814b
commit 10b0b5f9c7

View File

@@ -299,7 +299,7 @@ private fn void HashMap.put_for_create(HashMap* map, Key key, Value value)
private fn void HashMap.free(HashMap* map, void* ptr)
{
map.free(ptr);
map.allocator.free(ptr)!!;
}
private fn bool HashMap.remove_entry_for_key(HashMap* map, Key key)