diff options
Diffstat (limited to 'cpp/test/Ice/dispatcher/TestI.cpp')
-rw-r--r-- | cpp/test/Ice/dispatcher/TestI.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/cpp/test/Ice/dispatcher/TestI.cpp b/cpp/test/Ice/dispatcher/TestI.cpp index ea13cdec3cc..72a34c9bd25 100644 --- a/cpp/test/Ice/dispatcher/TestI.cpp +++ b/cpp/test/Ice/dispatcher/TestI.cpp @@ -28,7 +28,11 @@ TestIntfI::sleep(Ice::Int to, const Ice::Current&) } void +#ifdef ICE_CPP11_MAPPING +TestIntfI::opWithPayload(Ice::ByteSeq, const Ice::Current&) +#else TestIntfI::opWithPayload(const Ice::ByteSeq&, const Ice::Current&) +#endif { test(Dispatcher::isDispatcherThread()); } @@ -46,14 +50,14 @@ TestIntfControllerI::holdAdapter(const Ice::Current&) test(Dispatcher::isDispatcherThread()); _adapter->hold(); } - + void TestIntfControllerI::resumeAdapter(const Ice::Current&) { test(Dispatcher::isDispatcherThread()); _adapter->activate(); } - + TestIntfControllerI::TestIntfControllerI(const Ice::ObjectAdapterPtr& adapter) : _adapter(adapter) { } |