summaryrefslogtreecommitdiff
path: root/cpp/test/IceGrid/simple/Server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/IceGrid/simple/Server.cpp')
-rw-r--r--cpp/test/IceGrid/simple/Server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/test/IceGrid/simple/Server.cpp b/cpp/test/IceGrid/simple/Server.cpp
index 96ac9166843..cef20dc7b3d 100644
--- a/cpp/test/IceGrid/simple/Server.cpp
+++ b/cpp/test/IceGrid/simple/Server.cpp
@@ -29,7 +29,7 @@ Server::run(int argc, char* argv[])
Ice::ObjectAdapterPtr adapter = communicator()->createObjectAdapter("TestAdapter");
Ice::ObjectPtr object = new TestI(adapter);
- adapter->add(object, Ice::stringToIdentity("test"));
+ adapter->add(object, communicator()->stringToIdentity("test"));
shutdownOnInterrupt();
try