Use btree map for GRF ID overrides

This commit is contained in:
Jonathan G Rennison
2023-08-19 15:35:04 +01:00
parent e912cfc19d
commit 66b5c615b7

View File

@@ -59,7 +59,6 @@
#include "table/build_industry.h"
#include "3rdparty/cpp-btree/btree_map.h"
#include <map>
#include "safeguards.h"
@@ -499,7 +498,7 @@ StringID MapGRFStringID(uint32 grfid, StringID str)
}
}
static std::map<uint32, uint32> _grf_id_overrides;
static btree::btree_map<uint32, uint32> _grf_id_overrides;
/**
* Set the override for a NewGRF