diff options
Diffstat (limited to 'std')
-rw-r--r-- | std/arr.toc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/std/arr.toc b/std/arr.toc index 779de48..c973777 100644 --- a/std/arr.toc +++ b/std/arr.toc @@ -20,7 +20,7 @@ resv ::= fn(t ::=, a : &Arr(t), n: int) { add ::= fn(t ::=, a : &Arr(t), x : t) { if a.data.len >= a.cap { - resv(&a, a.cap * 2 + 2); + resv(a, a.cap * 2 + 2); } a.data.len += 1; a.data[a.data.len-1] = x; |