Fixed lcArray::Add() not default initializing.

This commit is contained in:
Leonardo Zide 2021-06-12 19:23:12 -07:00
parent ee5c551bc8
commit d84d8f1f3c

View file

@ -154,7 +154,8 @@ public:
T& Add()
{
AllocGrow(1);
return mData[mLength++];
mData[mLength++] = T();
return mData[mLength - 1];
}
T& InsertAt(int Index)