mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-10-31 15:20:10 +00:00
Use btree set for town names list
This commit is contained in:
parent
2313679ee7
commit
4202afc0bc
@ -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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user