summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/custom/Server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/custom/Server.cpp')
-rw-r--r--cpp/test/Ice/custom/Server.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/test/Ice/custom/Server.cpp b/cpp/test/Ice/custom/Server.cpp
index 92188346034..2517e5a53f2 100644
--- a/cpp/test/Ice/custom/Server.cpp
+++ b/cpp/test/Ice/custom/Server.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();