Use btree_set for IndustryList and StationList

This commit is contained in:
Jonathan G Rennison
2019-03-13 02:49:35 +00:00
parent 5e6d283463
commit 290471c70f
3 changed files with 5 additions and 5 deletions

View File

@@ -14,7 +14,7 @@
#include "core/smallstack_type.hpp"
#include "tilearea_type.h"
#include <set>
#include "3rdparty/cpp-btree/btree_set.h"
typedef uint16 StationID;
typedef uint16 RoadStopID;
@@ -97,7 +97,7 @@ struct StationCompare {
};
/** List of stations */
typedef std::set<Station *, StationCompare> StationList;
typedef btree::btree_set<Station *, StationCompare> StationList;
/**
* Structure contains cached list of stations nearby. The list