From fcb0720b492775c7f08d50a795afa1c7fc776287 Mon Sep 17 00:00:00 2001 From: Jose Date: Wed, 7 Aug 2019 11:41:31 +0200 Subject: Minor fix for Glacier2/SessionRouterI - See #30 --- cpp/src/Glacier2/SessionRouterI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src') 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(&_current)->ctx = ctx; + const_cast(_current).ctx = ctx; if(_instance->properties()->getPropertyAsInt("Glacier2.AddConnectionContext") > 0) { -- cgit v1.2.3