aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/protobuf/patches/dont-annotate-arena.patch
blob: d57031d2b81bc0ef597fa3bc3ac15c4d228594db (plain) (blame)
1
2
3
4
5
6
7
8
9
10
--- a/src/google/protobuf/repeated_field.h
+++ b/src/google/protobuf/repeated_field.h
@@ -389,6 +389,7 @@
   // filled from previous memory), and called with (current_size, total_size)
   // right before (previously annotated) memory is released.
   void AnnotateSize(int old_size, int new_size) const {
+    return;
     if (old_size != new_size) {
       ABSL_ANNOTATE_CONTIGUOUS_CONTAINER(
           unsafe_elements(), unsafe_elements() + total_size_,