diff options
Diffstat (limited to 'cpp/test/Ice/dispatcher/AllTests.cpp')
-rw-r--r-- | cpp/test/Ice/dispatcher/AllTests.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/test/Ice/dispatcher/AllTests.cpp b/cpp/test/Ice/dispatcher/AllTests.cpp index b4ec7f46bb0..7b79b132f9f 100644 --- a/cpp/test/Ice/dispatcher/AllTests.cpp +++ b/cpp/test/Ice/dispatcher/AllTests.cpp @@ -130,7 +130,7 @@ allTests(const Ice::CommunicatorPtr& communicator) CallbackPtr cb = ICE_MAKE_SHARED(Callback); #ifdef ICE_CPP11_MAPPING - p->op_async( + p->opAsync( [cb]() { cb->response(); @@ -149,7 +149,7 @@ allTests(const Ice::CommunicatorPtr& communicator) cb->check(); auto i = p->ice_adapterId("dummy"); - i->op_async( + i->opAsync( [cb]() { cb->response(); @@ -172,7 +172,7 @@ allTests(const Ice::CommunicatorPtr& communicator) // Expect InvocationTimeoutException. // auto to = p->ice_invocationTimeout(250); - to->sleep_async(500, + to->sleepAsync(500, [cb]() { cb->responseEx(); @@ -206,7 +206,7 @@ allTests(const Ice::CommunicatorPtr& communicator) auto fs = s->get_future(); auto c = make_shared<promise<void>>(); - p->opWithPayload_async(seq, + p->opWithPayloadAsync(seq, [=]() { c->set_value(); |