summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/facets/Collocated.cpp
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2016-07-27 19:30:37 -0400
committerBernard Normier <bernard@zeroc.com>2016-07-27 19:30:37 -0400
commit883edab4361e58957796f25d5fc55cfb41f0f6ea (patch)
treefc90adc372b66bf0becf4c0912794c64af250a29 /cpp/test/Ice/facets/Collocated.cpp
parentICE-7242 - Cross test updates (diff)
downloadice-883edab4361e58957796f25d5fc55cfb41f0f6ea.tar.bz2
ice-883edab4361e58957796f25d5fc55cfb41f0f6ea.tar.xz
ice-883edab4361e58957796f25d5fc55cfb41f0f6ea.zip
Deprecate Communicator::stringToIdentity and identityToString
Diffstat (limited to 'cpp/test/Ice/facets/Collocated.cpp')
-rw-r--r--cpp/test/Ice/facets/Collocated.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/test/Ice/facets/Collocated.cpp b/cpp/test/Ice/facets/Collocated.cpp
index 9dbf1bb6b2f..21460a5806c 100644
--- a/cpp/test/Ice/facets/Collocated.cpp
+++ b/cpp/test/Ice/facets/Collocated.cpp
@@ -22,12 +22,12 @@ run(int, char**, const Ice::CommunicatorPtr& communicator)
communicator->getProperties()->setProperty("TestAdapter.Endpoints", getTestEndpoint(communicator, 0));
Ice::ObjectAdapterPtr adapter = communicator->createObjectAdapter("TestAdapter");
Ice::ObjectPtr d = ICE_MAKE_SHARED(DI);
- adapter->add(d, communicator->stringToIdentity("d"));
- adapter->addFacet(d, communicator->stringToIdentity("d"), "facetABCD");
+ adapter->add(d, Ice::stringToIdentity("d"));
+ adapter->addFacet(d, Ice::stringToIdentity("d"), "facetABCD");
Ice::ObjectPtr f = ICE_MAKE_SHARED(FI);
- adapter->addFacet(f, communicator->stringToIdentity("d"), "facetEF");
+ adapter->addFacet(f, Ice::stringToIdentity("d"), "facetEF");
Ice::ObjectPtr h = ICE_MAKE_SHARED(HI, communicator);
- adapter->addFacet(h, communicator->stringToIdentity("d"), "facetGH");
+ adapter->addFacet(h, Ice::stringToIdentity("d"), "facetGH");
GPrxPtr allTests(const Ice::CommunicatorPtr&);
allTests(communicator);