diff options
Diffstat (limited to 'cpp/test/Ice/operations/ServerAMD.cpp')
-rw-r--r-- | cpp/test/Ice/operations/ServerAMD.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cpp/test/Ice/operations/ServerAMD.cpp b/cpp/test/Ice/operations/ServerAMD.cpp index adfbac159bc..9f28e51268a 100644 --- a/cpp/test/Ice/operations/ServerAMD.cpp +++ b/cpp/test/Ice/operations/ServerAMD.cpp @@ -17,9 +17,7 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator) { communicator->getProperties()->setProperty("TestAdapter.Endpoints", "default -p 12010 -t 10000:udp"); Ice::ObjectAdapterPtr adapter = communicator->createObjectAdapter("TestAdapter"); - Ice::Identity id = communicator->stringToIdentity("test"); - adapter->add(new MyDerivedClassI(adapter, id), id); - adapter->add(new TestCheckedCastI, communicator->stringToIdentity("context")); + adapter->add(new MyDerivedClassI, communicator->stringToIdentity("test")); adapter->activate(); communicator->waitForShutdown(); |