diff options
author | glx <glx@openttd.org> | 2019-12-16 19:28:46 +0100 |
---|---|---|
committer | Niels Martin Hansen <nielsm@indvikleren.dk> | 2019-12-21 20:13:03 +0100 |
commit | 09fa39c5b59d88a076a244cf1623a53b0ffa1434 (patch) | |
tree | c4b7006085df37a7c0b5f5a5bb3e62bcc53cae42 /src/linkgraph/linkgraphjob.h | |
parent | 00c2a98cf395d6e2a85290048e7be7a7f6ce0d04 (diff) | |
download | openttd-09fa39c5b59d88a076a244cf1623a53b0ffa1434.tar.xz |
Codechange: Replace linkgraph related FOR_ALL with range-based for loops
Diffstat (limited to 'src/linkgraph/linkgraphjob.h')
-rw-r--r-- | src/linkgraph/linkgraphjob.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/linkgraph/linkgraphjob.h b/src/linkgraph/linkgraphjob.h index 955ebefd3..9344ea246 100644 --- a/src/linkgraph/linkgraphjob.h +++ b/src/linkgraph/linkgraphjob.h @@ -334,8 +334,6 @@ public: inline const LinkGraph &Graph() const { return this->link_graph; } }; -#define FOR_ALL_LINK_GRAPH_JOBS(var) FOR_ALL_ITEMS_FROM(LinkGraphJob, link_graph_job_index, var, 0) - /** * A leg of a path in the link graph. Paths can form trees by being "forked". */ |