aboutsummaryrefslogtreecommitdiff
path: root/src/check_stmt.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2022-02-05 14:34:29 +0000
committergingerBill <bill@gingerbill.org>2022-02-05 14:34:29 +0000
commit3439139b1c763fe239967bd8c90d8ccbc1e0867f (patch)
tree148f55c5400a179b3e90b41b2679bc865560d6b5 /src/check_stmt.cpp
parentcf246f65ff72db870313627b7db3b83601364385 (diff)
Minor clean up
Diffstat (limited to 'src/check_stmt.cpp')
-rw-r--r--src/check_stmt.cpp2
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));