Skip to content

Commit f999694

Browse files
committed
refactor: Do not shadow InvokeContext::connection member
Fixes -Wshadow-field warning.
1 parent 4992b52 commit f999694

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/mp/proxy-io.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ struct InvokeContext
3030
struct ClientInvokeContext : InvokeContext
3131
{
3232
ThreadContext& thread_context;
33-
ClientInvokeContext(Connection& connection, ThreadContext& thread_context)
34-
: InvokeContext{connection}, thread_context{thread_context}
33+
ClientInvokeContext(Connection& conn, ThreadContext& thread_context)
34+
: InvokeContext{conn}, thread_context{thread_context}
3535
{
3636
}
3737
};

0 commit comments

Comments
 (0)