From c9325cea0aa43f328644157dee4eafe3d7b45e6f Mon Sep 17 00:00:00 2001 From: Maksim Denisov Date: Tue, 8 Oct 2024 15:34:56 +0200 Subject: Name local variables using lower_case ...and private members using lower_case_ --- test/buildtool/multithreading/async_map_consumer.test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/buildtool/multithreading/async_map_consumer.test.cpp') 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); { -- cgit v1.2.3