Remove `virtual` keyword. There are no overrides.

PiperOrigin-RevId: 577881969
pull/14558/head
Protobuf Team Bot 1 year ago committed by Copybara-Service
parent e56a9099f0
commit 3667102d91
  1. 2
      src/google/protobuf/message.h

@ -257,7 +257,7 @@ class PROTOBUF_EXPORT Message : public MessageLite {
// messages which will be merged. Repeated fields will be concatenated.
// The given message must be of the same type as this message (i.e. the
// exact same class).
virtual void MergeFrom(const Message& from);
void MergeFrom(const Message& from);
// Verifies that IsInitialized() returns true. ABSL_CHECK-fails otherwise,
// with a nice error message.

Loading…
Cancel
Save