diff options
author | glx <glx@openttd.org> | 2019-12-16 18:01:57 +0100 |
---|---|---|
committer | Niels Martin Hansen <nielsm@indvikleren.dk> | 2019-12-21 20:13:03 +0100 |
commit | 4ae829cb272225c7e07e233a94c2d945077f432a (patch) | |
tree | fc762bd9bf0280661663fd136dd68a444fef734d /src/group.h | |
parent | f58ce3db19be038e2a0725b2dd28de9d6c27d416 (diff) | |
download | openttd-4ae829cb272225c7e07e233a94c2d945077f432a.tar.xz |
Codechange: Replace FOR_ALL_GROUPS with range-based for loops
Diffstat (limited to 'src/group.h')
-rw-r--r-- | src/group.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/group.h b/src/group.h index 58d9bc53f..aeb7f581a 100644 --- a/src/group.h +++ b/src/group.h @@ -95,9 +95,6 @@ static inline bool IsAllGroupID(GroupID id_g) return id_g == ALL_GROUP; } -#define FOR_ALL_GROUPS_FROM(var, start) FOR_ALL_ITEMS_FROM(Group, group_index, var, start) -#define FOR_ALL_GROUPS(var) FOR_ALL_GROUPS_FROM(var, 0) - uint GetGroupNumEngines(CompanyID company, GroupID id_g, EngineID id_e); uint GetGroupNumVehicle(CompanyID company, GroupID id_g, VehicleType type); |