Change SharesMap form std::map to btree map.

This commit is contained in:
Jonathan G Rennison
2017-02-09 18:03:22 +00:00
parent 117b56caeb
commit 7f9ce94cbc

View File

@@ -19,6 +19,7 @@
#include "industry_type.h" #include "industry_type.h"
#include "linkgraph/linkgraph_type.h" #include "linkgraph/linkgraph_type.h"
#include "newgrf_storage.h" #include "newgrf_storage.h"
#include "3rdparty/cpp-btree/btree_map.h"
#include <map> #include <map>
#include <vector> #include <vector>
@@ -36,7 +37,7 @@ static const byte INITIAL_STATION_RATING = 175;
*/ */
class FlowStat { class FlowStat {
public: public:
typedef std::map<uint32, StationID> SharesMap; typedef btree::btree_map<uint32, StationID> SharesMap;
static const SharesMap empty_sharesmap; static const SharesMap empty_sharesmap;