diff options
Diffstat (limited to 'test/test_vector_test.cc')
-rw-r--r-- | test/test_vector_test.cc | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/test/test_vector_test.cc b/test/test_vector_test.cc index 87155c7f3..39414e32e 100644 --- a/test/test_vector_test.cc +++ b/test/test_vector_test.cc @@ -41,7 +41,7 @@ class TestVectorTest : public ::libaom_test::DecoderTest, protected: TestVectorTest() : DecoderTest(GET_PARAM(0)), md5_file_(nullptr) {} - virtual ~TestVectorTest() { + ~TestVectorTest() override { if (md5_file_) fclose(md5_file_); } @@ -51,14 +51,13 @@ class TestVectorTest : public ::libaom_test::DecoderTest, << "Md5 file open failed. Filename: " << md5_file_name_; } - virtual void PreDecodeFrameHook( - const libaom_test::CompressedVideoSource &video, - libaom_test::Decoder *decoder) { + void PreDecodeFrameHook(const libaom_test::CompressedVideoSource &video, + libaom_test::Decoder *decoder) override { if (video.frame_number() == 0) decoder->Control(AV1D_SET_ROW_MT, row_mt_); } - virtual void DecompressedFrameHook(const aom_image_t &img, - const unsigned int frame_number) { + void DecompressedFrameHook(const aom_image_t &img, + const unsigned int frame_number) override { ASSERT_NE(md5_file_, nullptr); char expected_md5[33]; char junk[128]; |