Use btree set for town names list

pull/584/head
Jonathan G Rennison 11 months ago
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…
Cancel
Save