summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/binding/Server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/binding/Server.cpp')
-rw-r--r--cpp/test/Ice/binding/Server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/test/Ice/binding/Server.cpp b/cpp/test/Ice/binding/Server.cpp
index cd5efcb149d..f9d69364268 100644
--- a/cpp/test/Ice/binding/Server.cpp
+++ b/cpp/test/Ice/binding/Server.cpp
@@ -17,7 +17,7 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator)
{
communicator->getProperties()->setProperty("TestAdapter.Endpoints", "default -p 12010 -t 10000:udp");
Ice::ObjectAdapterPtr adapter = communicator->createObjectAdapter("TestAdapter");
- Ice::Identity id = Ice::stringToIdentity("communicator");
+ Ice::Identity id = communicator->stringToIdentity("communicator");
adapter->add(new RemoteCommunicatorI(), id);
adapter->activate();