diff options
author | glx22 <glx@openttd.org> | 2020-12-27 00:13:56 +0100 |
---|---|---|
committer | Charles Pigott <charlespigott@googlemail.com> | 2020-12-27 10:28:46 +0000 |
commit | d8605ad18da2a00fceb72b38325374b341ac6f16 (patch) | |
tree | 8a6d33a6e57c2bc6a51cfe18443510c3b6a7bdbe /src/order_base.h | |
parent | 1478fa93b344fc25000725dd143109e4def24f0b (diff) | |
download | openttd-d8605ad18da2a00fceb72b38325374b341ac6f16.tar.xz |
Codechange: Replace FOR_VEHICLE_ORDERS with range-based for loops
Diffstat (limited to 'src/order_base.h')
-rw-r--r-- | src/order_base.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/order_base.h b/src/order_base.h index ba4959c0f..923e67d42 100644 --- a/src/order_base.h +++ b/src/order_base.h @@ -392,6 +392,4 @@ public: void DebugCheckSanity() const; }; -#define FOR_VEHICLE_ORDERS(v, order) for (order = (v->orders.list == nullptr) ? nullptr : v->orders.list->GetFirstOrder(); order != nullptr; order = order->next) - #endif /* ORDER_BASE_H */ |