[C++] Fix clang's -Winconsistent-missing-override in proto reader/writer. (#33646)
The "override" is not added on purpose to remain compatible with Protobuf < 22.x, as already written in the comment on top of these two functions. CC @veblush as the author of this code. Note: I am personally not super enthousiastic about this change. As an alternative, I can propose to selectively add the `override` keyword, based on the value of the `PROTOBUF_VERSION` macro (comparing it to `4022000`). Tell me if you prefer this version instead.pull/34329/head
parent
d0d826750f
commit
0bc07c957e
2 changed files with 12 additions and 4 deletions
Loading…
Reference in new issue