From f999694daab8ec5d34158c137f0818a9510f8403 Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Fri, 16 Sep 2022 10:16:26 +0100 Subject: [PATCH] refactor: Do not shadow `InvokeContext::connection` member Fixes -Wshadow-field warning. --- include/mp/proxy-io.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/mp/proxy-io.h b/include/mp/proxy-io.h index e26accb5..07e83a0f 100644 --- a/include/mp/proxy-io.h +++ b/include/mp/proxy-io.h @@ -30,8 +30,8 @@ struct InvokeContext struct ClientInvokeContext : InvokeContext { ThreadContext& thread_context; - ClientInvokeContext(Connection& connection, ThreadContext& thread_context) - : InvokeContext{connection}, thread_context{thread_context} + ClientInvokeContext(Connection& conn, ThreadContext& thread_context) + : InvokeContext{conn}, thread_context{thread_context} { } };