Codechange: Replace FOR_ALL_ENGINE_RENEWS with range-based for loops

This commit is contained in:
glx
2019-12-15 17:10:46 +01:00
committed by Niels Martin Hansen
parent ddabfed1cd
commit 60e3cf8aff
3 changed files with 3 additions and 11 deletions

View File

@@ -41,7 +41,4 @@ struct EngineRenew : EngineRenewPool::PoolItem<&_enginerenew_pool> {
~EngineRenew() {}
};
#define FOR_ALL_ENGINE_RENEWS_FROM(var, start) FOR_ALL_ITEMS_FROM(EngineRenew, enginerenew_index, var, start)
#define FOR_ALL_ENGINE_RENEWS(var) FOR_ALL_ENGINE_RENEWS_FROM(var, 0)
#endif /* AUTOREPLACE_BASE_H */