summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2019-08-07 11:41:31 +0200
committerJose <jose@zeroc.com>2019-08-07 11:41:31 +0200
commitfcb0720b492775c7f08d50a795afa1c7fc776287 (patch)
treef5499a09f8719e3e8821ca87d1c0278ae68cb95b /cpp
parentFixes for PHP/Swift cross testing (diff)
downloadice-fcb0720b492775c7f08d50a795afa1c7fc776287.tar.bz2
ice-fcb0720b492775c7f08d50a795afa1c7fc776287.tar.xz
ice-fcb0720b492775c7f08d50a795afa1c7fc776287.zip
Minor fix for Glacier2/SessionRouterI - See #30
Diffstat (limited to 'cpp')
-rw-r--r--cpp/src/Glacier2/SessionRouterI.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Glacier2/SessionRouterI.cpp b/cpp/src/Glacier2/SessionRouterI.cpp
index a96291ee338..b76ce4e3a9b 100644
--- a/cpp/src/Glacier2/SessionRouterI.cpp
+++ b/cpp/src/Glacier2/SessionRouterI.cpp
@@ -457,7 +457,7 @@ CreateSession::CreateSession(const SessionRouterIPtr& sessionRouter, const strin
ctx.erase("_con.localAddress");
ctx.erase("_con.cipher");
ctx.erase("_con.peerCert");
- const_cast<Ice::Current*>(&_current)->ctx = ctx;
+ const_cast<Ice::Current&>(_current).ctx = ctx;
if(_instance->properties()->getPropertyAsInt("Glacier2.AddConnectionContext") > 0)
{