summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/location/Server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/location/Server.cpp')
-rw-r--r--cpp/test/Ice/location/Server.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/test/Ice/location/Server.cpp b/cpp/test/Ice/location/Server.cpp
index 245cb0bb79d..bdf7066b5d2 100644
--- a/cpp/test/Ice/location/Server.cpp
+++ b/cpp/test/Ice/location/Server.cpp
@@ -33,15 +33,15 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator)
// 'servers' created with the server manager interface.
//
ServerLocatorRegistryPtr registry = new ServerLocatorRegistry();
- registry->addObject(adapter->createProxy(Ice::stringToIdentity("ServerManager")));
+ registry->addObject(adapter->createProxy(communicator->stringToIdentity("ServerManager")));
Ice::ObjectPtr object = new ServerManagerI(adapter, registry);
- adapter->add(object, Ice::stringToIdentity("ServerManager"));
+ adapter->add(object, communicator->stringToIdentity("ServerManager"));
Ice::LocatorRegistryPrx registryPrx =
- Ice::LocatorRegistryPrx::uncheckedCast(adapter->add(registry, Ice::stringToIdentity("registry")));
+ Ice::LocatorRegistryPrx::uncheckedCast(adapter->add(registry, communicator->stringToIdentity("registry")));
Ice::LocatorPtr locator = new ServerLocator(registry, registryPrx);
- adapter->add(locator, Ice::stringToIdentity("locator"));
+ adapter->add(locator, communicator->stringToIdentity("locator"));
adapter->activate();
communicator->waitForShutdown();