mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-12 09:09:09 +00:00
Codechange: Replace SmallVector::Length() with std::vector::size()
This commit is contained in:
@@ -1233,7 +1233,7 @@ void CommitVehicleListOrderChanges()
|
||||
FOR_ALL_ENGINES(e) {
|
||||
*ordering.Append() = e->index;
|
||||
}
|
||||
QSortT(ordering.Begin(), ordering.Length(), EnginePreSort);
|
||||
QSortT(ordering.Begin(), ordering.size(), EnginePreSort);
|
||||
|
||||
/* Apply Insertion-Sort operations */
|
||||
const ListOrderChange *end = _list_order_changes.End();
|
||||
|
Reference in New Issue
Block a user