mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-11 22:01:25 -07:00
Remove allocator parameter to types.cpp functions
This commit is contained in:
+1
-1
@@ -987,7 +987,7 @@ void check_type_switch_stmt(Checker *c, AstNode *node, u32 mod_flags) {
|
||||
!is_type_any(type_deref(x.type)) &&
|
||||
cc->list.count == 1 &&
|
||||
case_type != nullptr) {
|
||||
case_type = make_type_pointer(c->allocator, case_type);
|
||||
case_type = alloc_type_pointer(case_type);
|
||||
}
|
||||
|
||||
if (cc->list.count > 1) {
|
||||
|
||||
Reference in New Issue
Block a user