From 502ff9200cedb7d28e922858a3f62a9a8dc6a19b Mon Sep 17 00:00:00 2001 From: Robert Tari Date: Wed, 12 Jan 2022 18:19:19 +0100 Subject: tests/integration/usb-manager-test.cpp: Remove unneded lambda capture --- tests/integration/usb-manager-test.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/integration/usb-manager-test.cpp b/tests/integration/usb-manager-test.cpp index 392fe19..6243e92 100644 --- a/tests/integration/usb-manager-test.cpp +++ b/tests/integration/usb-manager-test.cpp @@ -1,5 +1,6 @@ /* * Copyright 2016 Canonical Ltd. + * Copyright 2022 Robert Tari * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published @@ -15,6 +16,7 @@ * * Authors: * Charles Kerr + * Robert Tari */ #include @@ -203,7 +205,7 @@ TEST_F(UsbManagerFixture, USBDisconnectedDuringPrompt) notificationsSpy.clear(); } - EXPECT_TRUE(wait_for([adbd_server, N_TESTS](){return adbd_server->m_responses.size() == N_TESTS;}, 5000)); + EXPECT_TRUE(wait_for([adbd_server](){return adbd_server->m_responses.size() == N_TESTS;}, 5000)); EXPECT_EQ(expected_responses, adbd_server->m_responses); } -- cgit v1.2.3