diff options
Diffstat (limited to 'src/checker.cpp')
| -rw-r--r-- | src/checker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/checker.cpp b/src/checker.cpp index ef7d72e65..a5885705e 100644 --- a/src/checker.cpp +++ b/src/checker.cpp @@ -219,7 +219,7 @@ bool decl_info_has_init(DeclInfo *d) { -Scope *create_scope(Scope *parent, gbAllocator allocator, isize init_elements_capacity=16) { +Scope *create_scope(Scope *parent, gbAllocator allocator, isize init_elements_capacity=DEFAULT_SCOPE_CAPACITY) { Scope *s = gb_alloc_item(allocator, Scope); s->parent = parent; string_map_init(&s->elements, heap_allocator(), init_elements_capacity); |