@@ -2876,7 +2876,7 @@ TEST(MessageDifferencerTest, IgnoreField_SetReportIgnoresFalse) {
2876
2876
// passed to the comparison function.
2877
2877
class ParentSavingFieldComparator : public util ::FieldComparator {
2878
2878
public:
2879
- ParentSavingFieldComparator () {}
2879
+ ParentSavingFieldComparator () = default ;
2880
2880
2881
2881
ComparisonResult Compare (const Message& message_1, const Message& message_2,
2882
2882
const FieldDescriptor* field, int index_1,
@@ -2934,7 +2934,7 @@ class ComparisonTest : public testing::Test {
2934
2934
unknown2_ = empty2_.mutable_unknown_fields ();
2935
2935
}
2936
2936
2937
- ~ComparisonTest () override {}
2937
+ ~ComparisonTest () override = default ;
2938
2938
2939
2939
void SetSpecialFieldOption (const Message& message,
2940
2940
util::MessageDifferencer* d) {
@@ -3962,9 +3962,9 @@ class MatchingTest : public testing::Test {
3962
3962
typedef util::MessageDifferencer MessageDifferencer;
3963
3963
3964
3964
protected:
3965
- MatchingTest () {}
3965
+ MatchingTest () = default ;
3966
3966
3967
- ~MatchingTest () override {}
3967
+ ~MatchingTest () override = default ;
3968
3968
3969
3969
std::string RunWithResult (MessageDifferencer* differencer,
3970
3970
const Message& msg1, const Message& msg2,
0 commit comments