Fixed warning in tests

This commit is contained in:
gabime 2018-08-13 11:16:50 +03:00
parent 6ae240c0b6
commit ba337d1393

View File

@ -33,7 +33,7 @@ TEST_CASE("apply_all"
spdlog::register_logger(logger2); spdlog::register_logger(logger2);
int counter = 0; 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); REQUIRE(counter == 2);
counter = 0; counter = 0;