Skip to content

Commit

Permalink
Delete deprecated `proto2::util::MessageDifferencer::AddIgnoreCriteri…
Browse files Browse the repository at this point in the history
…a(IgnoreCriteria*)` and its remaining call sites (pt 5 of 5).

#busy-beavers #cppinliner #codehealth

Not sure what the names of affected projects are, so feel free to modify startblock to wait until the CL affecting your project is in prod/live or whichever makes sense to you. Otherwise, leave as-is if 3 days after CL submission is good enough for you.

```
Startblock:
   cl/709898809 is submitted
   cl/709898813 is submitted
   cl/688140676 is submitted
   cl/709898810 is submitted
   and then
   juggle wait 3d
```
PiperOrigin-RevId: 699223340
  • Loading branch information
protobuf-github-bot authored and copybara-github committed Dec 27, 2024
1 parent d4ba7ff commit 10d9405
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/google/protobuf/util/message_differencer.h
Original file line number Diff line number Diff line change
Expand Up @@ -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<IgnoreCriteria> ignore_criteria);

// Indicates that any field with the given descriptor should be
Expand Down

0 comments on commit 10d9405

Please sign in to comment.