summaryrefslogtreecommitdiff
path: root/src/autoreplace_base.h
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2019-12-15 17:10:46 +0100
committerNiels Martin Hansen <nielsm@indvikleren.dk>2019-12-21 20:13:03 +0100
commit60e3cf8aff9a7b98a0365ab734bebf70607160a1 (patch)
treedac5e2054f6666dff239e6c441bd238ced7bb8ca /src/autoreplace_base.h
parentddabfed1cd3efa9ee229214207a60fc7cb3e0641 (diff)
downloadopenttd-60e3cf8aff9a7b98a0365ab734bebf70607160a1.tar.xz
Codechange: Replace FOR_ALL_ENGINE_RENEWS with range-based for loops
Diffstat (limited to 'src/autoreplace_base.h')
-rw-r--r--src/autoreplace_base.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/autoreplace_base.h b/src/autoreplace_base.h
index d7295a4db..c342223a7 100644
--- a/src/autoreplace_base.h
+++ b/src/autoreplace_base.h
@@ -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 */