summaryrefslogtreecommitdiff
path: root/test/perf-terrain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/perf-terrain.cpp')
-rw-r--r--test/perf-terrain.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/perf-terrain.cpp b/test/perf-terrain.cpp
index dbd44fa..81cb16c 100644
--- a/test/perf-terrain.cpp
+++ b/test/perf-terrain.cpp
@@ -3,10 +3,11 @@
#include <benchmark/benchmark.h>
namespace {
+ const TestMainWindowAppBase window;
+
void
terrainMeshgen(benchmark::State & state)
{
- TestMainWindowAppBase window;
Terrain terrain {GeoData::loadFromAsciiGrid(FIXTURESDIR "height/SD19.asc")};
for (auto _ : state) {