summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/custom/Collocated.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/custom/Collocated.cpp')
-rw-r--r--cpp/test/Ice/custom/Collocated.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/test/Ice/custom/Collocated.cpp b/cpp/test/Ice/custom/Collocated.cpp
index 084a7999ec6..dc1c4eb4f35 100644
--- a/cpp/test/Ice/custom/Collocated.cpp
+++ b/cpp/test/Ice/custom/Collocated.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();
Test::TestIntfPrx allTests(const Ice::CommunicatorPtr&, bool);