Skip to content

Commit ddd2cee

Browse files
committed
Merge bitcoin-core#78: refactor: Do not shadow InvokeContext::connection member
f999694 refactor: Do not shadow `InvokeContext::connection` member (Hennadii Stepanov) Pull request description: Fixes `-Wshadow-field` warning. Closes bitcoin-core#77. ACKs for top commit: ryanofsky: Code review ACK f999694 Tree-SHA512: b464d4018d0474d5797cbf711f375d65dcf417fa31da30b60af47337f4faa4bcaa31c01c16b18277efd0e83c105ba620131c424cf130ce831c1c2861b6c627ca
2 parents 4992b52 + f999694 commit ddd2cee

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)