From 539cf497c6e878cce79c73cf3d8b43bd8c215e0a Mon Sep 17 00:00:00 2001 From: Protobuf Team Bot Date: Thu, 28 Mar 2024 16:26:38 -0700 Subject: [PATCH] Update comment referencing removed CreateMaybeMessage API PiperOrigin-RevId: 620089913 --- src/google/protobuf/repeated_ptr_field.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/google/protobuf/repeated_ptr_field.h b/src/google/protobuf/repeated_ptr_field.h index 62075d361c70..ce4cea245ad6 100644 --- a/src/google/protobuf/repeated_ptr_field.h +++ b/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 {