mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-24 09:31:34 +08:00
Fixed warning in tests
This commit is contained in:
parent
6ae240c0b6
commit
ba337d1393
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user