diff options
author | fonsinchen <fonsinchen@openttd.org> | 2016-07-10 11:57:16 +0000 |
---|---|---|
committer | fonsinchen <fonsinchen@openttd.org> | 2016-07-10 11:57:16 +0000 |
commit | e2426b22fa0e605834d016d7116d0a8ed2e8223e (patch) | |
tree | 23632dd39f231b56abc5a70c5ac29951c147ac1c /src/linkgraph/linkgraph_gui.h | |
parent | bcdae9a093cf14a6eea0eab97d464f17688596ea (diff) | |
download | openttd-e2426b22fa0e605834d016d7116d0a8ed2e8223e.tar.xz |
(svn r27612) -Codechange: Replace three uses of std::list with std::queue/vector. (JGR)
Diffstat (limited to 'src/linkgraph/linkgraph_gui.h')
-rw-r--r-- | src/linkgraph/linkgraph_gui.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/linkgraph/linkgraph_gui.h b/src/linkgraph/linkgraph_gui.h index fcf81817f..1e306a44d 100644 --- a/src/linkgraph/linkgraph_gui.h +++ b/src/linkgraph/linkgraph_gui.h @@ -17,7 +17,7 @@ #include "../widget_type.h" #include "linkgraph_base.h" #include <map> -#include <list> +#include <vector> /** * Properties of a link between two stations. @@ -39,7 +39,7 @@ class LinkGraphOverlay { public: typedef std::map<StationID, LinkProperties> StationLinkMap; typedef std::map<StationID, StationLinkMap> LinkMap; - typedef std::list<std::pair<StationID, uint> > StationSupplyList; + typedef std::vector<std::pair<StationID, uint> > StationSupplyList; static const uint8 LINK_COLOURS[]; |