aboutsummaryrefslogtreecommitdiff
path: root/src/check_builtin.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2023-01-03 11:53:59 +0000
committergingerBill <bill@gingerbill.org>2023-01-03 11:53:59 +0000
commit600f2b7284b8974a18827242c18e790dab0cf06a (patch)
tree8a3480469c53a719cbadd1eb0ebdd6df3c337137 /src/check_builtin.cpp
parent670274ad8fc5ba52ea11c2d864d1915e107cc0e2 (diff)
Use heap_allocator for all hash set types
Diffstat (limited to 'src/check_builtin.cpp')
-rw-r--r--src/check_builtin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check_builtin.cpp b/src/check_builtin.cpp
index 99d956f5e..36dc9b7a1 100644
--- a/src/check_builtin.cpp
+++ b/src/check_builtin.cpp
@@ -3086,7 +3086,7 @@ gb_internal bool check_builtin_procedure(CheckerContext *c, Operand *operand, As
}
}
StringSet name_set = {};
- string_set_init(&name_set, heap_allocator(), 2*ce->args.count);
+ string_set_init(&name_set, 2*ce->args.count);
for_array(i, ce->args) {
String name = {};