Page MenuHomePhabricator

Various nits in netbase.cpp
ClosedPublic

Authored by deadalnix on Oct 7 2018, 23:45.

Details

Summary

As per title

Test Plan
make check

Diff Detail

Repository
rABC Bitcoin ABC
Branch
netbasenits
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 3533
Build 5142: Bitcoin ABC Buildbot (legacy)
Build 5141: arc lint + arc unit

Event Timeline

jasonbcox added a subscriber: jasonbcox.
jasonbcox added inline comments.
src/seeder/main.cpp
488

Scary that this actually worked before. Is there a compiler option to warn for this kind of promotion-style implicit conversion?

This revision is now accepted and ready to land.Oct 8 2018, 17:50
deadalnix added inline comments.
src/seeder/main.cpp
488

No, but we can have a linter to yell at you when you don't declare a constructor explicit.

This revision was automatically updated to reflect the committed changes.