From 4202afc0bc3b8bab563175cbaedc38dce1c37766 Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Tue, 1 Aug 2023 19:09:30 +0100 Subject: [PATCH] Use btree set for town names list --- src/townname_type.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/townname_type.h b/src/townname_type.h index 2dc23567f0..811c8a118c 100644 --- a/src/townname_type.h +++ b/src/townname_type.h @@ -16,10 +16,10 @@ #include "newgrf_townname.h" #include "town_type.h" #include "string_type.h" -#include +#include "3rdparty/cpp-btree/btree_set.h" #include -typedef std::set TownNames; +typedef btree::btree_set TownNames; static constexpr uint BUILTIN_TOWNNAME_GENERATOR_COUNT = SPECSTR_TOWNNAME_LAST - SPECSTR_TOWNNAME_START + 1; ///< Number of built-in town name generators.