roll-back-fix-compilation.patch_ignored 563 B

12345678910111213
  1. diff --git a/google/protobuf/pyext/message.cc b/google/protobuf/pyext/message.cc
  2. index c55f5687..19470c76 100644
  3. --- src/python/google/protobuf/pyext/message.cc
  4. +++ src/python/google/protobuf/pyext/message.cc
  5. @@ -1065,7 +1065,7 @@ int DeleteRepeatedField(
  6. }
  7. }
  8. - Arena* arena = Arena::InternalHelper<Message>::GetArenaForAllocation(message);
  9. + Arena* arena = Arena::InternalGetArenaForAllocation(message);
  10. GOOGLE_DCHECK_EQ(arena, nullptr)
  11. << "python protobuf is expected to be allocated from heap";
  12. // Remove items, starting from the end.