summaryrefslogtreecommitdiff
path: root/cpp/demo/IceGrid/simple/Server.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2006-05-09 13:07:41 +0000
committerDwayne Boone <dwayne@zeroc.com>2006-05-09 13:07:41 +0000
commit197b6de9281b52d0b53c4b3fa3312e371b4469a9 (patch)
treebae93f8155da0770f5dd45d12ef1160ee99aed54 /cpp/demo/IceGrid/simple/Server.cpp
parentAdded identityToString and stringToIdentity to Communicator (diff)
downloadice-197b6de9281b52d0b53c4b3fa3312e371b4469a9.tar.bz2
ice-197b6de9281b52d0b53c4b3fa3312e371b4469a9.tar.xz
ice-197b6de9281b52d0b53c4b3fa3312e371b4469a9.zip
Fixed proxy and identity t/from string functions to use string converters
Diffstat (limited to 'cpp/demo/IceGrid/simple/Server.cpp')
-rw-r--r--cpp/demo/IceGrid/simple/Server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/demo/IceGrid/simple/Server.cpp b/cpp/demo/IceGrid/simple/Server.cpp
index 589e14650e7..2168bac1c66 100644
--- a/cpp/demo/IceGrid/simple/Server.cpp
+++ b/cpp/demo/IceGrid/simple/Server.cpp
@@ -33,7 +33,7 @@ Server::run(int argc, char* argv[])
{
Ice::PropertiesPtr properties = communicator()->getProperties();
Ice::ObjectAdapterPtr adapter = communicator()->createObjectAdapter("Hello");
- Ice::Identity id = Ice::stringToIdentity(properties->getProperty("Identity"));
+ Ice::Identity id = communicator()->stringToIdentity(properties->getProperty("Identity"));
adapter->add(new HelloI(properties->getProperty("Ice.ServerId")), id);
adapter->activate();
communicator()->waitForShutdown();