diff options
Diffstat (limited to 'cpp/test/Ice/objects/Collocated.cpp')
-rw-r--r-- | cpp/test/Ice/objects/Collocated.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/test/Ice/objects/Collocated.cpp b/cpp/test/Ice/objects/Collocated.cpp index 9960bbd2610..8b9bbc387cb 100644 --- a/cpp/test/Ice/objects/Collocated.cpp +++ b/cpp/test/Ice/objects/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"); InitialPtr initial = new InitialI(adapter); - adapter->add(initial, Ice::stringToIdentity("initial")); + adapter->add(initial, communicator->stringToIdentity("initial")); InitialPrx allTests(const Ice::CommunicatorPtr&, bool); allTests(communicator, true); // We must call shutdown even in the collocated case for cyclic dependency cleanup |