(svn r27612) -Codechange: Replace three uses of std::list with std::queue/vector. (JGR)
This commit is contained in:
@@ -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[];
|
||||
|
||||
|
Reference in New Issue
Block a user