HomePhabricator

Fix enum NumConnections shadowing warning

Description

Fix enum NumConnections shadowing warning

Summary:
Reduce the scope of the NumConnections enum in clientModel.cpp by
making it part of the ClientModel class.

This is an alternative to D4681.

Test Plan:

ninja check

Check the -Wshadow warning no longer exist.

Reviewers: #bitcoin_abc, deadalnix, jasonbcox

Reviewed By: #bitcoin_abc, deadalnix, jasonbcox

Subscribers: jasonbcox

Differential Revision: https://reviews.bitcoinabc.org/D4721

Details

Provenance
FabienAuthored on Dec 9 2019, 21:01
FabienPushed on Dec 18 2019, 07:22
Reviewer
Restricted Project
Differential Revision
D4721: Fix enum NumConnections shadowing warning
Parents
rABCace2b19624bd: checkmultisig: refactor nullfail check
Branches
Unknown
Tags
Unknown