mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-12 09:09:09 +00:00
Codechange: Replaced SmallVector::Reset() with std::vector::clear() + shrink_to_fit()
This commit is contained in:
@@ -1272,7 +1272,8 @@ void CommitVehicleListOrderChanges()
|
||||
}
|
||||
|
||||
/* Clear out the queue */
|
||||
_list_order_changes.Reset();
|
||||
_list_order_changes.clear();
|
||||
_list_order_changes.shrink_to_fit();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user