diff options
Diffstat (limited to 'cpp/demo/Ice/nested/Server.cpp')
-rw-r--r-- | cpp/demo/Ice/nested/Server.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/demo/Ice/nested/Server.cpp b/cpp/demo/Ice/nested/Server.cpp index 4ea63595ad2..1f0d907b33b 100644 --- a/cpp/demo/Ice/nested/Server.cpp +++ b/cpp/demo/Ice/nested/Server.cpp @@ -31,8 +31,8 @@ int NestedServer::run(int argc, char* argv[]) { Ice::ObjectAdapterPtr adapter = communicator()->createObjectAdapter("Nested.Server"); - NestedPrx self = NestedPrx::uncheckedCast(adapter->createProxy(Ice::stringToIdentity("nestedServer"))); - adapter->add(new NestedI(self), Ice::stringToIdentity("nestedServer")); + NestedPrx self = NestedPrx::uncheckedCast(adapter->createProxy(communicator()->stringToIdentity("nestedServer"))); + adapter->add(new NestedI(self), communicator()->stringToIdentity("nestedServer")); adapter->activate(); communicator()->waitForShutdown(); return EXIT_SUCCESS; |