Remove test code
This commit is contained in:
1 parent
aa542980ce
commit
eb274cf316
2 files changed
+1
-2
No files matched your search
+1
-1
@@ -33,7 +33,7 @@ void scope_reset(Scope *scope) {
|
||||
|
||||
void scope_reserve(Scope *scope, isize capacity) {
|
||||
isize cap = 2*capacity;
|
||||
if (cap > scope->elements.hashes.capacity) {
|
||||
if (cap > scope->elements.hashes.count) {
|
||||
map_rehash(&scope->elements, capacity);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user