Skip to content

Commit

Permalink
chore: Revise constants
Browse files Browse the repository at this point in the history
  • Loading branch information
oboukli committed Aug 2, 2023
1 parent 1f04437 commit 99a38bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions benchmark/lru_cache_benchmark.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ test(int const capacity) {

TEST_CASE("forfun::lrucache benchmarking") {
SECTION("small") {
constexpr int const lrucache_capacity{32};
static constexpr int const lrucache_capacity{32};

ankerl::nanobench::Bench()

Expand All @@ -74,7 +74,7 @@ TEST_CASE("forfun::lrucache benchmarking") {
}

SECTION("large") {
constexpr int const lrucache_capacity{128};
static constexpr int const lrucache_capacity{128};

ankerl::nanobench::Bench()

Expand Down

0 comments on commit 99a38bf

Please sign in to comment.