mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-21 03:12:41 +01:00
Codechange: Replace FOR_ALL_SIGNS with range-based for loops
This commit is contained in:
@@ -60,8 +60,7 @@ struct SignList {
|
||||
|
||||
this->signs.clear();
|
||||
|
||||
const Sign *si;
|
||||
FOR_ALL_SIGNS(si) this->signs.push_back(si);
|
||||
for (const Sign *si : Sign::Iterate()) this->signs.push_back(si);
|
||||
|
||||
this->signs.SetFilterState(true);
|
||||
this->FilterSignList();
|
||||
|
||||
Reference in New Issue
Block a user