From b678210987e281123c601ad7b49d97882a53de1c Mon Sep 17 00:00:00 2001 From: Jose Date: Fri, 6 Apr 2018 12:19:28 +0200 Subject: Ice/interceptor test unused lambda capture --- cpp/test/Ice/interceptor/MyObjectI.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cpp/test/Ice/interceptor/MyObjectI.cpp') diff --git a/cpp/test/Ice/interceptor/MyObjectI.cpp b/cpp/test/Ice/interceptor/MyObjectI.cpp index 3d3e792f70d..b03aff23710 100644 --- a/cpp/test/Ice/interceptor/MyObjectI.cpp +++ b/cpp/test/Ice/interceptor/MyObjectI.cpp @@ -143,7 +143,7 @@ MyObjectI::amdBadAddAsync(int x, const Ice::Current&) { thread t( - [x, y, error]() + [error]() { this_thread::sleep_for(chrono::milliseconds(10)); try @@ -166,7 +166,7 @@ MyObjectI::amdNotExistAddAsync(int x, const Ice::Current&) { thread t( - [x, y, error]() + [error]() { this_thread::sleep_for(chrono::milliseconds(10)); try @@ -189,7 +189,7 @@ MyObjectI::amdBadSystemAddAsync(int x, const Ice::Current&) { thread t( - [x, y, error]() + [error]() { this_thread::sleep_for(chrono::milliseconds(10)); try -- cgit v1.2.3