diff --git a/src/google/protobuf/util/message_differencer.h b/src/google/protobuf/util/message_differencer.h index 227cc45ca8dbe..b3fe5cafef29f 100644 --- a/src/google/protobuf/util/message_differencer.h +++ b/src/google/protobuf/util/message_differencer.h @@ -505,9 +505,6 @@ class PROTOBUF_EXPORT MessageDifferencer { // Add a custom ignore criteria that is evaluated in addition to the // ignored fields added with IgnoreField. // Takes ownership of ignore_criteria. - void AddIgnoreCriteria(IgnoreCriteria* ignore_criteria) { - AddIgnoreCriteria(absl::WrapUnique(ignore_criteria)); - } void AddIgnoreCriteria(std::unique_ptr ignore_criteria); // Indicates that any field with the given descriptor should be