test/loop: fix 'unused parameter ‘handle’' warning

This commit is contained in:
Alois Klink 2023-08-23 14:30:33 +01:00
parent 050f930b36
commit e04ecc06a9

View File

@ -88,7 +88,7 @@ TEST(Loop, Walk) {
ASSERT_EQ(count, 12u);
loop->run();
loop->walk([&count](auto &handle) { --count; });
loop->walk([&count](auto &) { --count; });
ASSERT_EQ(count, 12u);