diff options
Diffstat (limited to 'cpp/test/Ice/operations/ServerAMD.cpp')
-rw-r--r-- | cpp/test/Ice/operations/ServerAMD.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/test/Ice/operations/ServerAMD.cpp b/cpp/test/Ice/operations/ServerAMD.cpp index 063071d896a..b3506874852 100644 --- a/cpp/test/Ice/operations/ServerAMD.cpp +++ b/cpp/test/Ice/operations/ServerAMD.cpp @@ -17,9 +17,9 @@ 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 = Ice::stringToIdentity("test"); + Ice::Identity id = communicator->stringToIdentity("test"); adapter->add(new MyDerivedClassI(adapter, id), id); - adapter->add(new TestCheckedCastI, Ice::stringToIdentity("context")); + adapter->add(new TestCheckedCastI, communicator->stringToIdentity("context")); adapter->activate(); communicator->waitForShutdown(); |