diff options
| author | gingerBill <bill@gingerbill.org> | 2022-02-05 14:34:29 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2022-02-05 14:34:29 +0000 |
| commit | 3439139b1c763fe239967bd8c90d8ccbc1e0867f (patch) | |
| tree | 148f55c5400a179b3e90b41b2679bc865560d6b5 /src/check_stmt.cpp | |
| parent | cf246f65ff72db870313627b7db3b83601364385 (diff) | |
Minor clean up
Diffstat (limited to 'src/check_stmt.cpp')
| -rw-r--r-- | src/check_stmt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check_stmt.cpp b/src/check_stmt.cpp index 0d18af199..2d85db82c 100644 --- a/src/check_stmt.cpp +++ b/src/check_stmt.cpp @@ -921,7 +921,7 @@ void check_switch_stmt(CheckerContext *ctx, Ast *node, u32 mod_flags) { } } - PtrMap<uintptr, TypeAndToken> seen = {}; // NOTE(bill): Multimap, Key: ExactValue + SeenMap seen = {}; // NOTE(bill): Multimap, Key: ExactValue map_init(&seen, heap_allocator()); defer (map_destroy(&seen)); |