summaryrefslogtreecommitdiffhomepage
path: root/bench
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-01-22 18:55:41 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-01-22 18:55:41 +0100
commit906f56a842c0e0e706087f80607ff6d816a23280 (patch)
tree730ed20091649482691baeaeae753dd40c468402 /bench
parent49f455887a29a2a879e330dca9e050296e617720 (diff)
w
Diffstat (limited to 'bench')
-rw-r--r--bench/dijkstra.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/bench/dijkstra.cpp b/bench/dijkstra.cpp
index 4296e71c..a50548d0 100644
--- a/bench/dijkstra.cpp
+++ b/bench/dijkstra.cpp
@@ -24,7 +24,7 @@ void Dijkstra(benchmark::State& state)
constexpr auto wpos = global_coords{wch, wt};
auto& ch = w[wch];
- auto metal2 = wall_image_proto{loader.wall_atlas("empty", false), 0};
+ auto metal2 = wall_image_proto{loader.wall_atlas("empty", loader_policy::warn), 0};
for (int16_t j = wcy - 1; j <= wcy + 1; j++)
for (int16_t i = wcx - 1; i <= wcx + 1; i++)