summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/inheritance/Collocated.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/inheritance/Collocated.cpp')
-rw-r--r--cpp/test/Ice/inheritance/Collocated.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/test/Ice/inheritance/Collocated.cpp b/cpp/test/Ice/inheritance/Collocated.cpp
index cbc94437a8a..7b169147632 100644
--- a/cpp/test/Ice/inheritance/Collocated.cpp
+++ b/cpp/test/Ice/inheritance/Collocated.cpp
@@ -19,7 +19,7 @@ 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::ObjectPtr object = new InitialI(adapter);
- adapter->add(object, Ice::stringToIdentity("initial"));
+ adapter->add(object, communicator->stringToIdentity("initial"));
InitialPrx allTests(const Ice::CommunicatorPtr&);
allTests(communicator);