diff options
| author | gingerBill <bill@gingerbill.org> | 2023-01-03 11:53:59 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2023-01-03 11:53:59 +0000 |
| commit | 600f2b7284b8974a18827242c18e790dab0cf06a (patch) | |
| tree | 8a3480469c53a719cbadd1eb0ebdd6df3c337137 /src/check_stmt.cpp | |
| parent | 670274ad8fc5ba52ea11c2d864d1915e107cc0e2 (diff) | |
Use heap_allocator for all hash set types
Diffstat (limited to 'src/check_stmt.cpp')
| -rw-r--r-- | src/check_stmt.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/check_stmt.cpp b/src/check_stmt.cpp index cf111e84c..945ba8f02 100644 --- a/src/check_stmt.cpp +++ b/src/check_stmt.cpp @@ -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) { |