Use btree set for town names list
This commit is contained in:
@@ -16,10 +16,10 @@
|
||||
#include "newgrf_townname.h"
|
||||
#include "town_type.h"
|
||||
#include "string_type.h"
|
||||
#include <set>
|
||||
#include "3rdparty/cpp-btree/btree_set.h"
|
||||
#include <string>
|
||||
|
||||
typedef std::set<std::string> TownNames;
|
||||
typedef btree::btree_set<std::string> TownNames;
|
||||
|
||||
static constexpr uint BUILTIN_TOWNNAME_GENERATOR_COUNT = SPECSTR_TOWNNAME_LAST - SPECSTR_TOWNNAME_START + 1; ///< Number of built-in town name generators.
|
||||
|
||||
|
Reference in New Issue
Block a user