HomePhabricator

Stop using the deprecated google::protobuf::MessageLite::ByteSize()

Description

Stop using the deprecated google::protobuf::MessageLite::ByteSize()

Summary:
from build logs:

‘int google::protobuf::MessageLite::ByteSize() const’ is deprecated: Please use ByteSizeLong() instead [-Wdeprecated-declarations]'

https://developers.google.com/protocol-buffers/docs/reference/cpp/google.protobuf.message_lite#MessageLite.ByteSizeLong.details

Test Plan:

ninja check

Reviewers: O1 Bitcoin ABC, #bitcoin_abc, deadalnix

Reviewed By: O1 Bitcoin ABC, #bitcoin_abc, deadalnix

Subscribers: deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D5386

Details

Provenance
majcostaAuthored on Feb 29 2020, 17:50
majcostaPushed on Mar 1 2020, 00:48
Reviewer
Restricted Owners Package
Differential Revision
D5386: Stop using the deprecated google::protobuf::MessageLite::ByteSize()
Parents
rABC5bd34749056f: [backport] qt: Remove obsolete QModelIndex::child() #16707
Branches
Unknown
Tags
Unknown