summaryrefslogtreecommitdiff
path: root/cpp/demo/Ice/nested/Client.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2001-12-05 19:13:16 +0000
committerMarc Laukien <marc@zeroc.com>2001-12-05 19:13:16 +0000
commit29f5d8c468d89715be66f3f99c0f444452a14176 (patch)
tree69dd25f91b7b73cc0ff48d7ceec0f89efe875926 /cpp/demo/Ice/nested/Client.cpp
parentbug fixes (diff)
downloadice-29f5d8c468d89715be66f3f99c0f444452a14176.tar.bz2
ice-29f5d8c468d89715be66f3f99c0f444452a14176.tar.xz
ice-29f5d8c468d89715be66f3f99c0f444452a14176.zip
Ice::Identity
Diffstat (limited to 'cpp/demo/Ice/nested/Client.cpp')
-rw-r--r--cpp/demo/Ice/nested/Client.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/demo/Ice/nested/Client.cpp b/cpp/demo/Ice/nested/Client.cpp
index 9d56c5f2439..11a37001a26 100644
--- a/cpp/demo/Ice/nested/Client.cpp
+++ b/cpp/demo/Ice/nested/Client.cpp
@@ -49,8 +49,8 @@ NestedClient::run(int argc, char* argv[])
}
ObjectAdapterPtr adapter = communicator()->createObjectAdapter("NestedClientAdapter");
- NestedPrx self = NestedPrx::uncheckedCast(adapter->createProxy("nestedClient"));
- adapter->add(new NestedI(self), "nestedClient");
+ NestedPrx self = NestedPrx::uncheckedCast(adapter->createProxy(Ice::stringToIdentity("nestedClient")));
+ adapter->add(new NestedI(self), Ice::stringToIdentity("nestedClient"));
adapter->activate();
cout << "Note: The maximum nesting level is (sz - 1) * 2, with sz\n"