Skip to content

Commit 616d71b

Browse files
committed
ObjectPool: fixed compilation error
1 parent 94d5a19 commit 616d71b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

scripts/util/ObjectPool.asc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
// Otherwise simply returns existing array.
99
//
1010
//===========================================================================
11+
import int[] Array_ExpandIf(int arr[], int valid_count, int need_capacity, int elem_sz = 1);
12+
1113
int[] Array_ExpandIf(int arr[], int valid_count, int need_capacity, int elem_sz)
1214
{
1315
if (valid_count >= need_capacity) { return arr; }

0 commit comments

Comments
 (0)