Undo redo
This commit is contained in:
@@ -444,7 +444,7 @@ void BoundedAdd(Array<T> *arr, T item) {
|
||||
|
||||
template <class T>
|
||||
T *Alloc(Array<T> *arr, T item) {
|
||||
TryGrowing();
|
||||
TryGrowing(arr);
|
||||
T *ref = arr->data + arr->len++;
|
||||
ref[0] = item;
|
||||
return ref;
|
||||
|
||||
Reference in New Issue
Block a user