diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2006-05-18 12:35:43 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2006-05-18 12:35:43 +0000 |
commit | abdcd610f082a4f7fffd8cec6a4d47b1a58e4ed8 (patch) | |
tree | ada82f0c438397fba9abcbcd8181f326ef7625d1 /cpp/demo/IceGrid/sessionActivation/Client.cpp | |
parent | Changed the string that is sent (diff) | |
download | ice-abdcd610f082a4f7fffd8cec6a4d47b1a58e4ed8.tar.bz2 ice-abdcd610f082a4f7fffd8cec6a4d47b1a58e4ed8.tar.xz ice-abdcd610f082a4f7fffd8cec6a4d47b1a58e4ed8.zip |
Minor edits
Diffstat (limited to 'cpp/demo/IceGrid/sessionActivation/Client.cpp')
-rw-r--r-- | cpp/demo/IceGrid/sessionActivation/Client.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/demo/IceGrid/sessionActivation/Client.cpp b/cpp/demo/IceGrid/sessionActivation/Client.cpp index 7086b7cb90f..45a93fd812f 100644 --- a/cpp/demo/IceGrid/sessionActivation/Client.cpp +++ b/cpp/demo/IceGrid/sessionActivation/Client.cpp @@ -126,10 +126,10 @@ HelloClient::run(int argc, char* argv[]) SessionKeepAliveThreadPtr keepAlive = new SessionKeepAliveThread(session); keepAlive->start(); - HelloPrx hello = HelloPrx::uncheckedCast(communicator()->stringToProxy("hello"));; + HelloPrx hello; try { - session->allocateObjectById(hello->ice_getIdentity()); + hello = HelloPrx::checkedCast(session->allocateObjectById(communicator()->stringToIdentity("hello"))); } catch(const IceGrid::AllocationException& ex) { |