Commit ba337d13 authored by gabime's avatar gabime

Fixed warning in tests

parent 6ae240c0
...@@ -33,7 +33,7 @@ TEST_CASE("apply_all" ...@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment