From ba337d1393db312dedf41d7b2c4b608e7f4f8a90 Mon Sep 17 00:00:00 2001 From: gabime Date: Mon, 13 Aug 2018 11:16:50 +0300 Subject: [PATCH] Fixed warning in tests --- tests/registry.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/registry.cpp b/tests/registry.cpp index ff84cacf..9f723272 100644 --- a/tests/registry.cpp +++ b/tests/registry.cpp @@ -33,7 +33,7 @@ TEST_CASE("apply_all" spdlog::register_logger(logger2); int counter = 0; - spdlog::apply_all([&counter](std::shared_ptr l) { counter++; }); + spdlog::apply_all([&counter](std::shared_ptr ) { counter++; }); REQUIRE(counter == 2); counter = 0;