summaryrefslogtreecommitdiff
path: root/cpp/test/IceGrid/allocation/Server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/IceGrid/allocation/Server.cpp')
-rw-r--r--cpp/test/IceGrid/allocation/Server.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/cpp/test/IceGrid/allocation/Server.cpp b/cpp/test/IceGrid/allocation/Server.cpp
index daaa34fb6b3..0bb0c93af57 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(adapter, properties), Ice::stringToIdentity("allocatable"));
- adapter->add(new TestI(adapter, properties), Ice::stringToIdentity("nonallocatable"));
- adapter->add(new TestI(adapter, properties), Ice::stringToIdentity("allocatable1"));
- adapter->add(new TestI(adapter, properties), Ice::stringToIdentity("allocatable2"));
- adapter->add(new TestI(adapter, properties), Ice::stringToIdentity("allocatable3"));
- adapter->add(new TestI(adapter, properties), Ice::stringToIdentity("allocatable4"));
- adapter->add(new TestI(adapter, properties), Ice::stringToIdentity("allocatable11"));
- adapter->add(new TestI(adapter, properties), Ice::stringToIdentity("allocatable21"));
- adapter->add(new TestI(adapter, properties), Ice::stringToIdentity("allocatable31"));
- adapter->add(new TestI(adapter, properties), Ice::stringToIdentity("allocatable41"));
+ adapter->add(new TestI(adapter, properties), communicator()->stringToIdentity("allocatable"));
+ adapter->add(new TestI(adapter, properties), communicator()->stringToIdentity("nonallocatable"));
+ adapter->add(new TestI(adapter, properties), communicator()->stringToIdentity("allocatable1"));
+ adapter->add(new TestI(adapter, properties), communicator()->stringToIdentity("allocatable2"));
+ adapter->add(new TestI(adapter, properties), communicator()->stringToIdentity("allocatable3"));
+ adapter->add(new TestI(adapter, properties), communicator()->stringToIdentity("allocatable4"));
+ adapter->add(new TestI(adapter, properties), communicator()->stringToIdentity("allocatable11"));
+ adapter->add(new TestI(adapter, properties), communicator()->stringToIdentity("allocatable21"));
+ adapter->add(new TestI(adapter, properties), communicator()->stringToIdentity("allocatable31"));
+ adapter->add(new TestI(adapter, properties), communicator()->stringToIdentity("allocatable41"));
shutdownOnInterrupt();
try