- use TArray and FString in resource file management.
This commit is contained in:
parent
4d06c17a44
commit
191f2d9d76
13 changed files with 55 additions and 73 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue