Skip to content

Commit

Permalink
Update comment referencing removed CreateMaybeMessage API
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 620035462
  • Loading branch information
protobuf-github-bot authored and copybara-github committed Mar 28, 2024
1 parent 1f6580d commit 53ec32c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/google/protobuf/repeated_ptr_field.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 53ec32c

Please sign in to comment.