Codechange: Replaced SmallVector::[Begin|End]() with std alternatives
This commit is contained in:
@@ -1945,9 +1945,8 @@ void LoadUnloadStation(Station *st)
|
||||
}
|
||||
|
||||
/* Call the production machinery of industries */
|
||||
const Industry * const *isend = _cargo_delivery_destinations.End();
|
||||
for (Industry **iid = _cargo_delivery_destinations.Begin(); iid != isend; iid++) {
|
||||
TriggerIndustryProduction(*iid);
|
||||
for (Industry *iid : _cargo_delivery_destinations) {
|
||||
TriggerIndustryProduction(iid);
|
||||
}
|
||||
_cargo_delivery_destinations.clear();
|
||||
}
|
||||
|
Reference in New Issue
Block a user