diff --git a/src/google/protobuf/message_lite.h b/src/google/protobuf/message_lite.h index 58c5c2bddd..bbd9dc9b38 100644 --- a/src/google/protobuf/message_lite.h +++ b/src/google/protobuf/message_lite.h @@ -77,6 +77,10 @@ class MessageTableTester; namespace internal { +namespace v2 { +class TableDriven; +} // namespace v2 + class MessageCreator { public: using Func = void* (*)(const void*, void*, Arena*); @@ -987,6 +991,7 @@ class PROTOBUF_EXPORT MessageLite { friend class internal::WeakFieldMap; friend class internal::WireFormatLite; friend class internal::RustMapHelper; + friend class internal::v2::TableDriven; friend internal::MessageCreator; template