mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-28 17:19:34 +08:00
Fixed warning in tests
This commit is contained in:
@@ -33,7 +33,7 @@ TEST_CASE("apply_all"
|
||||
spdlog::register_logger(logger2);
|
||||
|
||||
int counter = 0;
|
||||
spdlog::apply_all([&counter](std::shared_ptr<spdlog::logger> l) { counter++; });
|
||||
spdlog::apply_all([&counter](std::shared_ptr<spdlog::logger> ) { counter++; });
|
||||
REQUIRE(counter == 2);
|
||||
|
||||
counter = 0;
|
||||
|
Reference in New Issue
Block a user