aboutsummaryrefslogtreecommitdiff
path: root/ci/lint
diff options
context:
space:
mode:
authorJon Atack <jon@atack.com>2020-10-16 00:18:44 +0200
committerJon Atack <jon@atack.com>2020-10-16 23:33:44 +0200
commitc8abbc9d1fd8f77b5dcf31cf7a6dd6aac5d1c75c (patch)
treed5c43cceb08852dfd47b17b7a74ec7c47dc00b8a /ci/lint
parent0d22482353752ebfb11aa29f4b26113b817a448a (diff)
p2p: declare Announcement::m_state as uint8_t, add getter/setter
to silence these Travis CI GCC compiler warnings: txrequest.cpp:73:21: warning: ‘{anonymous}::Announcement::m_state’ is too small to hold all values of ‘enum class {anonymous}::State’ State m_state : 3; ^ The warnings are based on the maximum value held by the underlying uint8_t enumerator type, though the intention of the bitfield declaration is the maximum declared enumerator value. The warning been silenced in GCC 8.4+ and 9.3+ according to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61414
Diffstat (limited to 'ci/lint')
0 files changed, 0 insertions, 0 deletions