- use TArray and FString in resource file management.

This commit is contained in:
Christoph Oelckers 2018-11-10 14:19:55 +01:00
commit 191f2d9d76
13 changed files with 55 additions and 73 deletions

View file

@ -431,11 +431,11 @@ public:
}
// Reserves amount entries at the end of the array, but does nothing
// with them.
unsigned int Reserve (unsigned int amount)
unsigned int Reserve (size_t amount)
{
Grow (amount);
Grow ((unsigned)amount);
unsigned int place = Count;
Count += amount;
Count += (unsigned)amount;
if (Count > 0) ConstructEmpty(place, Count - 1);
return place;
}