Update comment referencing removed CreateMaybeMessage API

PiperOrigin-RevId: 620089913
pull/16343/head
Protobuf Team Bot 1 year ago committed by Copybara-Service
parent 1f6580dd0c
commit 539cf497c6
  1. 4
      src/google/protobuf/repeated_ptr_field.h

@ -577,9 +577,9 @@ class PROTOBUF_EXPORT RepeatedPtrFieldBase {
friend class internal::SwapFieldHelper;
// Concrete Arena enabled copy function used to copy messages instances.
// This follows the `Arena::CreateMaybeMessage` signature so that the compiler
// This follows the `Arena::CopyConstruct` signature so that the compiler
// can have the inlined call into the out of line copy function(s) simply pass
// the address of `Arena::CreateMaybeMessage` 'as is'.
// the address of `Arena::CopyConstruct` 'as is'.
using CopyFn = void* (*)(Arena*, const void*);
struct Rep {

Loading…
Cancel
Save