diff options
Diffstat (limited to 'cpp/demo/Ice/nested/Client.cpp')
-rw-r--r-- | cpp/demo/Ice/nested/Client.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/demo/Ice/nested/Client.cpp b/cpp/demo/Ice/nested/Client.cpp index 3ff33f4ca84..3bb6f8e2533 100644 --- a/cpp/demo/Ice/nested/Client.cpp +++ b/cpp/demo/Ice/nested/Client.cpp @@ -47,8 +47,8 @@ NestedClient::run(int argc, char* argv[]) } Ice::ObjectAdapterPtr adapter = communicator()->createObjectAdapter("Nested.Client"); - NestedPrx self = NestedPrx::uncheckedCast(adapter->createProxy(Ice::stringToIdentity("nestedClient"))); - adapter->add(new NestedI(self), Ice::stringToIdentity("nestedClient")); + NestedPrx self = NestedPrx::uncheckedCast(adapter->createProxy(communicator()->stringToIdentity("nestedClient"))); + adapter->add(new NestedI(self), communicator()->stringToIdentity("nestedClient")); adapter->activate(); cout << "Note: The maximum nesting level is sz * 2, with sz being\n" |