summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/dispatcher/TestI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/dispatcher/TestI.cpp')
-rw-r--r--cpp/test/Ice/dispatcher/TestI.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/cpp/test/Ice/dispatcher/TestI.cpp b/cpp/test/Ice/dispatcher/TestI.cpp
index d06da693f78..d99aae39f4c 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)
{
}