diff options
author | Jose <jose@zeroc.com> | 2018-04-06 12:19:28 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2018-04-06 12:19:28 +0200 |
commit | b678210987e281123c601ad7b49d97882a53de1c (patch) | |
tree | d7f2351e3b218fa6a1fe320f19c6ad7889db7c72 /cpp | |
parent | Unused lambda capture (diff) | |
download | ice-b678210987e281123c601ad7b49d97882a53de1c.tar.bz2 ice-b678210987e281123c601ad7b49d97882a53de1c.tar.xz ice-b678210987e281123c601ad7b49d97882a53de1c.zip |
Ice/interceptor test unused lambda capture
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/test/Ice/interceptor/MyObjectI.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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 |