From 53ec32cf0fcc824ce4e1be6eb402648f4b9b9971 Mon Sep 17 00:00:00 2001 From: Protobuf Team Bot Date: Thu, 28 Mar 2024 13:11:57 -0700 Subject: [PATCH] Update comment referencing removed CreateMaybeMessage API PiperOrigin-RevId: 620035462 --- 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 62075d361c701..ce4cea245ad6b 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 {