mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-19 04:12:22 -07:00
Remove test code
This commit is contained in:
+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