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/refresh.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/refresh.h')
-rw-r--r-- | src/linkgraph/refresh.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/linkgraph/refresh.h b/src/linkgraph/refresh.h index 496729df7..6687b8a3b 100644 --- a/src/linkgraph/refresh.h +++ b/src/linkgraph/refresh.h @@ -14,7 +14,7 @@ #include "../cargo_type.h" #include "../vehicle_base.h" -#include <list> +#include <vector> #include <map> #include <set> @@ -79,7 +79,7 @@ protected: bool operator<(const Hop &other) const; }; - typedef std::list<RefitDesc> RefitList; + typedef std::vector<RefitDesc> RefitList; typedef std::map<CargoID, uint> CapacitiesMap; typedef std::set<Hop> HopSet; |