summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/operations/Collocated.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/operations/Collocated.cpp')
-rw-r--r--cpp/test/Ice/operations/Collocated.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/test/Ice/operations/Collocated.cpp b/cpp/test/Ice/operations/Collocated.cpp
index 1f5a2c21a8b..a8016a9f753 100644
--- a/cpp/test/Ice/operations/Collocated.cpp
+++ b/cpp/test/Ice/operations/Collocated.cpp
@@ -17,9 +17,9 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator)
{
communicator->getProperties()->setProperty("TestAdapter.Endpoints", "default -p 12010 -t 10000");
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();
Test::MyClassPrx allTests(const Ice::CommunicatorPtr&, bool);