Codechange: Replace station related FOR_ALL with range-based for loops
This commit is contained in:
@@ -67,10 +67,4 @@ struct Waypoint FINAL : SpecializedStation<Waypoint, true> {
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Iterate over all waypoints.
|
||||
* @param var The variable used for iteration.
|
||||
*/
|
||||
#define FOR_ALL_WAYPOINTS(var) FOR_ALL_BASE_STATIONS_OF_TYPE(Waypoint, var)
|
||||
|
||||
#endif /* WAYPOINT_BASE_H */
|
||||
|
Reference in New Issue
Block a user