diff --git a/src/google/protobuf/util/internal/default_value_objectwriter_test.cc b/src/google/protobuf/util/internal/default_value_objectwriter_test.cc index b7a537ab1b..8254c0fa2e 100644 --- a/src/google/protobuf/util/internal/default_value_objectwriter_test.cc +++ b/src/google/protobuf/util/internal/default_value_objectwriter_test.cc @@ -55,7 +55,7 @@ class BaseDefaultValueObjectWriterTest string(kTypeServiceBaseUrl) + "/" + descriptor->full_name(), &mock_)); } - ~BaseDefaultValueObjectWriterTest() override {} + virtual ~BaseDefaultValueObjectWriterTest() {} TypeInfoTestHelper helper_; MockObjectWriter mock_; @@ -69,7 +69,7 @@ class DefaultValueObjectWriterTest : public BaseDefaultValueObjectWriterTest { protected: DefaultValueObjectWriterTest() : BaseDefaultValueObjectWriterTest(DefaultValueTest::descriptor()) {} - ~DefaultValueObjectWriterTest() override {} + virtual ~DefaultValueObjectWriterTest() {} }; INSTANTIATE_TEST_CASE_P(DifferentTypeInfoSourceTest,