Codechange: Replace FOR_ALL_GOALS with range-based for loops
This commit is contained in:
@@ -37,7 +37,4 @@ struct Goal : GoalPool::PoolItem<&_goal_pool> {
|
||||
inline ~Goal() { free(this->text); free(this->progress); }
|
||||
};
|
||||
|
||||
#define FOR_ALL_GOALS_FROM(var, start) FOR_ALL_ITEMS_FROM(Goal, goal_index, var, start)
|
||||
#define FOR_ALL_GOALS(var) FOR_ALL_GOALS_FROM(var, 0)
|
||||
|
||||
#endif /* GOAL_BASE_H */
|
||||
|
||||
Reference in New Issue
Block a user