From 1297ccc537ccfeedb5bf281547608d23069f5709 Mon Sep 17 00:00:00 2001 From: Lars Date: Mon, 23 Jun 2025 13:27:40 -0700 Subject: [PATCH] Quick fix for TestMap name collision, introduced in #16274 --- src/benchmark/benchmark_map.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/benchmark/benchmark_map.cpp b/src/benchmark/benchmark_map.cpp index 0658b6ccb..0a41fec5a 100644 --- a/src/benchmark/benchmark_map.cpp +++ b/src/benchmark/benchmark_map.cpp @@ -7,6 +7,7 @@ #include "map.h" #include "mapsector.h" +namespace { class TestMap : public Map { public: TestMap(IGameDef *gamedef) : Map(gamedef) {} @@ -30,6 +31,7 @@ public: } }; +} static void fillMap(TestMap &map, s16 n) {