diff options
Diffstat (limited to 'bench')
-rw-r--r-- | bench/bitmask.cpp | 2 | ||||
-rw-r--r-- | bench/loader.cpp | 1 | ||||
-rw-r--r-- | bench/raycast.cpp | 2 |
3 files changed, 2 insertions, 3 deletions
diff --git a/bench/bitmask.cpp b/bench/bitmask.cpp index 9efa25a9..1156a9f7 100644 --- a/bench/bitmask.cpp +++ b/bench/bitmask.cpp @@ -10,7 +10,7 @@ namespace floormat { namespace { -[[maybe_unused]] void Bitmask(benchmark::State& state) +void Bitmask(benchmark::State& state) { auto img = loader.texture(loader.SCENERY_PATH, "door-close"_s); auto bitmask = anim_atlas::make_bitmask(img); diff --git a/bench/loader.cpp b/bench/loader.cpp index dcd13e4e..c96ef31c 100644 --- a/bench/loader.cpp +++ b/bench/loader.cpp @@ -5,7 +5,6 @@ #include "serialize/anim.hpp" #include <Corrade/Containers/ArrayView.h> #include <Corrade/Containers/StringIterable.h> -#include <Corrade/Utility/Path.h> #include <benchmark/benchmark.h> namespace floormat { diff --git a/bench/raycast.cpp b/bench/raycast.cpp index 7f66f920..cdcf71f7 100644 --- a/bench/raycast.cpp +++ b/bench/raycast.cpp @@ -79,7 +79,7 @@ auto run(point from, point to, world& w, bool b, float len) return true; } -[[maybe_unused]] void Raycast(benchmark::State& state) +void Raycast(benchmark::State& state) { auto w = make_world(); |