- fixed TArray's Append methods.

I mistakenly assumed that Grow would incease the array's reserved space.
This commit is contained in:
Christoph Oelckers 2018-11-18 01:23:14 +01:00 committed by drfrag
parent e9a5f094c9
commit ab689c0984

View file

@ -283,6 +283,7 @@ public:
unsigned start = Count;
Grow(item.Size());
Count += item.Size();
for (unsigned i = 0; i < item.Size(); i++)
{
@ -296,6 +297,7 @@ public:
unsigned start = Count;
Grow(item.Size());
Count += item.Size();
for (unsigned i = 0; i < item.Size(); i++)
{