diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-02-05 14:44:09 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-02-06 03:51:58 +0100 |
commit | 31860896302ccbac677ac670c43c3b5b8b857192 (patch) | |
tree | e8899b944fce2044f665b9dcc401fec17957d76d /bench | |
parent | 45868d4a4057c012caccafee21c1f1169e0ef8ca (diff) |
style only
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(); |