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