diff options
Diffstat (limited to 'cpp/test/Ice/custom/ServerAMD.cpp')
-rw-r--r-- | cpp/test/Ice/custom/ServerAMD.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/test/Ice/custom/ServerAMD.cpp b/cpp/test/Ice/custom/ServerAMD.cpp index b3561cf14aa..da682c753b4 100644 --- a/cpp/test/Ice/custom/ServerAMD.cpp +++ b/cpp/test/Ice/custom/ServerAMD.cpp @@ -19,9 +19,9 @@ int run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator) { Ice::ObjectAdapterPtr adapter = communicator->createObjectAdapter("TestAdapter"); - adapter->add(new TestIntfI(communicator), Ice::stringToIdentity("test")); - adapter->add(new Test1::WstringClassI, Ice::stringToIdentity("wstring1")); - adapter->add(new Test2::WstringClassI, Ice::stringToIdentity("wstring2")); + adapter->add(new TestIntfI(communicator), communicator->stringToIdentity("test")); + adapter->add(new Test1::WstringClassI, communicator->stringToIdentity("wstring1")); + adapter->add(new Test2::WstringClassI, communicator->stringToIdentity("wstring2")); adapter->activate(); communicator->waitForShutdown(); |