diff options
author | Jose <jose@zeroc.com> | 2020-04-30 20:19:35 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2020-04-30 20:19:35 +0200 |
commit | 134f5a8572a78e70e853ce6f631360b0676a348f (patch) | |
tree | 4ef983eb83b82cc16d19e02868b7e466b021944b /cpp/src | |
parent | Unhandled CommunicatorDestroyedException - See # 744 (diff) | |
download | ice-134f5a8572a78e70e853ce6f631360b0676a348f.tar.bz2 ice-134f5a8572a78e70e853ce6f631360b0676a348f.tar.xz ice-134f5a8572a78e70e853ce6f631360b0676a348f.zip |
Fix build failured, introduce in previous commit
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/Glacier2Lib/SessionHelper.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Glacier2Lib/SessionHelper.cpp b/cpp/src/Glacier2Lib/SessionHelper.cpp index cd11cc19e99..4a3f384a2cb 100644 --- a/cpp/src/Glacier2Lib/SessionHelper.cpp +++ b/cpp/src/Glacier2Lib/SessionHelper.cpp @@ -583,10 +583,10 @@ public: { if(!communicator->getDefaultRouter()) { + Ice::RouterFinderPrxPtr finder; try { - Ice::RouterFinderPrxPtr finder = - ICE_UNCHECKED_CAST(Ice::RouterFinderPrx, communicator->stringToProxy(_finder)); + finder = ICE_UNCHECKED_CAST(Ice::RouterFinderPrx, communicator->stringToProxy(_finder)); communicator->setDefaultRouter(finder->getRouter()); } catch(const Ice::CommunicatorDestroyedException& ex) |