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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jasonbcox added a subscriber: jasonbcox.
jasonbcox added inline comments.
src/seeder/main.cpp
488 ↗(On Diff #5311)

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 ↗(On Diff #5311)

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.