diff options
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/src/Glacier2/SessionRouterI.cpp | 2 |
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) { |