mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-11 05:41:25 -07:00
Use heap_allocator for all hash set types
This commit is contained in:
@@ -1185,7 +1185,6 @@ gb_internal void check_type_switch_stmt(CheckerContext *ctx, Ast *node, u32 mod_
|
||||
}
|
||||
|
||||
PtrSet<Type *> seen = {};
|
||||
ptr_set_init(&seen, heap_allocator());
|
||||
defer (ptr_set_destroy(&seen));
|
||||
|
||||
for_array(i, bs->stmts) {
|
||||
|
||||
Reference in New Issue
Block a user