aboutsummaryrefslogtreecommitdiff
path: root/include/std/hash_map.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/std/hash_map.h')
-rw-r--r--include/std/hash_map.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/std/hash_map.h b/include/std/hash_map.h
index 9b31213..b9b90c6 100644
--- a/include/std/hash_map.h
+++ b/include/std/hash_map.h
@@ -13,7 +13,7 @@ typedef int(*HashMapCompare)(const void *a, const void *b);
typedef usize(*HashMapHash)(const u8 *data, usize size);
struct HashMap {
- ScopedAllocator *allocator; /* borrowed */
+ ArenaAllocator *allocator; /* borrowed */
Buffer/*HashMapBucket*/ buckets;
usize value_type_size;
usize num_elements;
@@ -21,7 +21,7 @@ struct HashMap {
HashMapHash hash_func;
};
-CHECK_RESULT int hash_map_init(HashMap *self, ScopedAllocator *allocator, usize value_type_size, HashMapCompare compare_func, HashMapHash hash_func);
+CHECK_RESULT int hash_map_init(HashMap *self, ArenaAllocator *allocator, usize value_type_size, HashMapCompare compare_func, HashMapHash hash_func);
/*
Not thread-safe.
Expected @value size to be @self->value_type_size.