diff options
author | Bernard Normier <bernard@zeroc.com> | 2016-07-27 19:30:37 -0400 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2016-07-27 19:30:37 -0400 |
commit | 883edab4361e58957796f25d5fc55cfb41f0f6ea (patch) | |
tree | fc90adc372b66bf0becf4c0912794c64af250a29 /cpp/test/Ice/udp/Server.cpp | |
parent | ICE-7242 - Cross test updates (diff) | |
download | ice-883edab4361e58957796f25d5fc55cfb41f0f6ea.tar.bz2 ice-883edab4361e58957796f25d5fc55cfb41f0f6ea.tar.xz ice-883edab4361e58957796f25d5fc55cfb41f0f6ea.zip |
Deprecate Communicator::stringToIdentity and identityToString
Diffstat (limited to 'cpp/test/Ice/udp/Server.cpp')
-rw-r--r-- | cpp/test/Ice/udp/Server.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/test/Ice/udp/Server.cpp b/cpp/test/Ice/udp/Server.cpp index 77abcdf2d03..9574f504ed7 100644 --- a/cpp/test/Ice/udp/Server.cpp +++ b/cpp/test/Ice/udp/Server.cpp @@ -26,14 +26,14 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator) os << "tcp -p " << (12010 + num); properties->setProperty("ControlAdapter.Endpoints", os.str()); Ice::ObjectAdapterPtr adapter = communicator->createObjectAdapter("ControlAdapter"); - adapter->add(ICE_MAKE_SHARED(TestIntfI), communicator->stringToIdentity("control")); + adapter->add(ICE_MAKE_SHARED(TestIntfI), Ice::stringToIdentity("control")); adapter->activate(); if(num == 0) { properties->setProperty("TestAdapter.Endpoints", "udp -p 12010"); Ice::ObjectAdapterPtr adapter2 = communicator->createObjectAdapter("TestAdapter"); - adapter2->add(ICE_MAKE_SHARED(TestIntfI), communicator->stringToIdentity("test")); + adapter2->add(ICE_MAKE_SHARED(TestIntfI), Ice::stringToIdentity("test")); adapter2->activate(); } @@ -52,7 +52,7 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator) } properties->setProperty("McastTestAdapter.Endpoints", endpoint); Ice::ObjectAdapterPtr mcastAdapter = communicator->createObjectAdapter("McastTestAdapter"); - mcastAdapter->add(ICE_MAKE_SHARED(TestIntfI), communicator->stringToIdentity("test")); + mcastAdapter->add(ICE_MAKE_SHARED(TestIntfI), Ice::stringToIdentity("test")); mcastAdapter->activate(); TEST_READY |