diff options
Diffstat (limited to 'cpp/test/Ice/exceptions/ServerAMD.cpp')
-rw-r--r-- | cpp/test/Ice/exceptions/ServerAMD.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/test/Ice/exceptions/ServerAMD.cpp b/cpp/test/Ice/exceptions/ServerAMD.cpp index 7341d9d7509..99ebdb2b845 100644 --- a/cpp/test/Ice/exceptions/ServerAMD.cpp +++ b/cpp/test/Ice/exceptions/ServerAMD.cpp @@ -20,7 +20,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::ObjectPtr object = new ThrowerI(adapter); - adapter->add(object, Ice::stringToIdentity("thrower")); + adapter->add(object, communicator->stringToIdentity("thrower")); adapter->activate(); communicator->waitForShutdown(); return EXIT_SUCCESS; |