From 18491f6eb3d97d8fcf6c372593af05764c2f0c16 Mon Sep 17 00:00:00 2001 From: Michael Davidsaver Date: Wed, 4 Apr 2018 10:12:33 -0700 Subject: [PATCH] const-ify AbstractClientResponseHandler::_context --- src/remoteClient/clientContextImpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/remoteClient/clientContextImpl.cpp b/src/remoteClient/clientContextImpl.cpp index 4050bcc..26c4d23 100644 --- a/src/remoteClient/clientContextImpl.cpp +++ b/src/remoteClient/clientContextImpl.cpp @@ -2466,7 +2466,7 @@ public: class AbstractClientResponseHandler : public ResponseHandler { protected: - ClientContextImpl::weak_pointer _context; + const ClientContextImpl::weak_pointer _context; public: AbstractClientResponseHandler(ClientContextImpl::shared_pointer const & context, string const & description) : ResponseHandler(context.get(), description), _context(ClientContextImpl::weak_pointer(context)) {