From 883edab4361e58957796f25d5fc55cfb41f0f6ea Mon Sep 17 00:00:00 2001 From: Bernard Normier Date: Wed, 27 Jul 2016 19:30:37 -0400 Subject: Deprecate Communicator::stringToIdentity and identityToString --- cpp/test/IceGrid/allocation/Server.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'cpp/test/IceGrid/allocation/Server.cpp') diff --git a/cpp/test/IceGrid/allocation/Server.cpp b/cpp/test/IceGrid/allocation/Server.cpp index 8e9931a3e91..113ccaa4846 100644 --- a/cpp/test/IceGrid/allocation/Server.cpp +++ b/cpp/test/IceGrid/allocation/Server.cpp @@ -32,16 +32,16 @@ Server::run(int argc, char* argv[]) string name = properties->getProperty("Ice.ProgramName"); Ice::ObjectAdapterPtr adapter = communicator()->createObjectAdapter("Server"); - adapter->add(new TestI(properties), communicator()->stringToIdentity("allocatable")); - adapter->add(new TestI(properties), communicator()->stringToIdentity("nonallocatable")); - adapter->add(new TestI(properties), communicator()->stringToIdentity("allocatable1")); - adapter->add(new TestI(properties), communicator()->stringToIdentity("allocatable2")); - adapter->add(new TestI(properties), communicator()->stringToIdentity("allocatable3")); - adapter->add(new TestI(properties), communicator()->stringToIdentity("allocatable4")); - adapter->add(new TestI(properties), communicator()->stringToIdentity("allocatable11")); - adapter->add(new TestI(properties), communicator()->stringToIdentity("allocatable21")); - adapter->add(new TestI(properties), communicator()->stringToIdentity("allocatable31")); - adapter->add(new TestI(properties), communicator()->stringToIdentity("allocatable41")); + adapter->add(new TestI(properties), Ice::stringToIdentity("allocatable")); + adapter->add(new TestI(properties), Ice::stringToIdentity("nonallocatable")); + adapter->add(new TestI(properties), Ice::stringToIdentity("allocatable1")); + adapter->add(new TestI(properties), Ice::stringToIdentity("allocatable2")); + adapter->add(new TestI(properties), Ice::stringToIdentity("allocatable3")); + adapter->add(new TestI(properties), Ice::stringToIdentity("allocatable4")); + adapter->add(new TestI(properties), Ice::stringToIdentity("allocatable11")); + adapter->add(new TestI(properties), Ice::stringToIdentity("allocatable21")); + adapter->add(new TestI(properties), Ice::stringToIdentity("allocatable31")); + adapter->add(new TestI(properties), Ice::stringToIdentity("allocatable41")); shutdownOnInterrupt(); try -- cgit v1.2.3