Codechange: Replaced SmallVector::Append() with std::vector::[push|emplace]_back()
This commit is contained in:
@@ -823,7 +823,7 @@ typedef SmallVector<Train *, 16> TrainList;
|
||||
*/
|
||||
static void MakeTrainBackup(TrainList &list, Train *t)
|
||||
{
|
||||
for (; t != NULL; t = t->Next()) *list.Append() = t;
|
||||
for (; t != NULL; t = t->Next()) list.push_back(t);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user