diff --git a/src/google/protobuf/repeated_ptr_field.cc b/src/google/protobuf/repeated_ptr_field.cc index 929131ce57..1cc6bbe0d6 100644 --- a/src/google/protobuf/repeated_ptr_field.cc +++ b/src/google/protobuf/repeated_ptr_field.cc @@ -88,7 +88,7 @@ void RepeatedPtrFieldBase::Reserve(int capacity) { } void RepeatedPtrFieldBase::DestroyProtos() { - Destroy>(); + PROTOBUF_ALWAYS_INLINE_CALL Destroy>(); // TODO: Eliminate this store when invoked from the destructor, // since it is dead.