HomePhabricator

Fix enum NumConnections shadowing warning

Authored by Fabien on Dec 9 2019, 21:01.

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

Committed
FabienDec 18 2019, 07:21
Pushed
FabienDec 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