The enum NumConnections is double defined, once in the CConnman
class and once in the clientmodel.h file. Because clientmodel.cpp
includes clientmodel.h and net.h, there is a shadow warning.
This diff removes the definition from clientmodel.h and use the
CConnman definition instead, which simplifies the logic a bit.
Details
Details
- Reviewers
deadalnix - Group Reviewers
Restricted Project
ninja check
Build and run bitcoin-qt. Check the number of connections displayed in
the debug window is correct.
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- fix_duplicated_connections_enum
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 8473 Build 14957: Default Diff Build & Tests Build 14956: arc lint + arc unit