Codechange: Replace FOR_ALL_SUBSIDIES with range-based for loops
This commit is contained in:
@@ -15,8 +15,7 @@
|
||||
|
||||
ScriptSubsidyList::ScriptSubsidyList()
|
||||
{
|
||||
const Subsidy *s;
|
||||
FOR_ALL_SUBSIDIES(s) {
|
||||
for (const Subsidy *s : Subsidy::Iterate()) {
|
||||
this->AddItem(s->index);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user