summaryrefslogtreecommitdiff
path: root/test/buildtool/multithreading/async_map_consumer.test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/buildtool/multithreading/async_map_consumer.test.cpp')
-rw-r--r--test/buildtool/multithreading/async_map_consumer.test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/buildtool/multithreading/async_map_consumer.test.cpp b/test/buildtool/multithreading/async_map_consumer.test.cpp
index 3ba3eebf..4f7d54d8 100644
--- a/test/buildtool/multithreading/async_map_consumer.test.cpp
+++ b/test/buildtool/multithreading/async_map_consumer.test.cpp
@@ -248,7 +248,7 @@ TEST_CASE("Failure detection", "[async_map_consumer]") {
bool failed{};
SECTION("Unfinished pending keys") {
- int const kStep{3};
+ static constexpr int kStep = 3;
REQUIRE(std::lcm(kMaxVal, kStep) > kMaxVal);
auto map = CountToMaxConsumer(kMaxVal, kStep);
{