Change SharesMap form std::map to btree map.
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user