add-error-methods-not-private.patch 1000 B

1234567891011121314151617181920
  1. --- contrib/libs/protobuf/src/google/protobuf/descriptor.h (d41e0f52b204831b82c746275d9339deba1980b3)
  2. +++ contrib/libs/protobuf/src/google/protobuf/descriptor.h (224e5c6eb476648794a67b47aa67ced218b4043c)
  3. @@ -1952,7 +1952,6 @@ class PROTOBUF_EXPORT DescriptorPool {
  4. PROTOBUF_IGNORE_DEPRECATION_STOP
  5. }
  6. - private:
  7. // These should never be called directly, but if a legacy class overrides
  8. // them they'll get routed to by the Record* methods.
  9. DUMMY_DEPRECATED("Use RecordError")
  10. --- contrib/libs/protobuf/src/google/protobuf/io/tokenizer.h (d41e0f52b204831b82c746275d9339deba1980b3)
  11. +++ contrib/libs/protobuf/src/google/protobuf/io/tokenizer.h (224e5c6eb476648794a67b47aa67ced218b4043c)
  12. @@ -96,7 +96,6 @@ class PROTOBUF_EXPORT ErrorCollector {
  13. PROTOBUF_IGNORE_DEPRECATION_STOP
  14. }
  15. - private:
  16. // These should never be called directly, but if a legacy class overrides
  17. // them they'll get routed to by the Record* methods.
  18. DUMMY_DEPRECATED("Use RecordError")