diff options
Diffstat (limited to 'cpp/test')
-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 |