summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2020-04-30 20:19:35 +0200
committerJose <jose@zeroc.com>2020-04-30 20:19:35 +0200
commit134f5a8572a78e70e853ce6f631360b0676a348f (patch)
tree4ef983eb83b82cc16d19e02868b7e466b021944b /cpp/src
parentUnhandled CommunicatorDestroyedException - See # 744 (diff)
downloadice-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.cpp4
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)