Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replaced call of deprecated MessageLite::ByteSize() #58

Merged
merged 1 commit into from Oct 25, 2022
Merged

Conversation

ban-nobuhiro
Copy link
Contributor

Protobuf が新しい環境ではビルドが通らなくなる問題がありました。その修正対応です。
コンパイルが通る Ubuntu 20.04 環境(protobuf 3.6.1.3) でも
「PROTOBUF_RUNTIME_DEPRECATED」だったことから、ByteSize() の使用は推奨されていないようでした。

原因:

  // Legacy ByteSize() API.
  PROTOBUF_RUNTIME_DEPRECATED("Please use ByteSizeLong() instead")

@kuron99 kuron99 merged commit e22ef4a into master Oct 25, 2022
@kuron99 kuron99 deleted the protobuf-3.11 branch November 16, 2022 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants