From 6207a38b7dee83329396dcc539cb2d43d171a749 Mon Sep 17 00:00:00 2001 From: Alex Converse Date: Wed, 12 Mar 2014 14:51:42 -0700 Subject: [PATCH] Add missing virtual destructors to tests. Change-Id: I916b1e646d9fe142d3483039eb6cc72464529832 --- test/borders_test.cc | 1 + test/config_test.cc | 1 + test/cpu_speed_test.cc | 1 + test/keyframe_test.cc | 1 + test/superframe_test.cc | 1 + 5 files changed, 5 insertions(+) diff --git a/test/borders_test.cc b/test/borders_test.cc index 5071541..b30be45 100644 --- a/test/borders_test.cc +++ b/test/borders_test.cc @@ -21,6 +21,7 @@ class BordersTest : public ::libvpx_test::EncoderTest, public ::libvpx_test::CodecTestWithParam { protected: BordersTest() : EncoderTest(GET_PARAM(0)) {} + virtual ~BordersTest() {} virtual void SetUp() { InitializeConfig(); diff --git a/test/config_test.cc b/test/config_test.cc index 36c6330..0493110 100644 --- a/test/config_test.cc +++ b/test/config_test.cc @@ -20,6 +20,7 @@ class ConfigTest : public ::libvpx_test::EncoderTest, protected: ConfigTest() : EncoderTest(GET_PARAM(0)), frame_count_in_(0), frame_count_out_(0), frame_count_max_(0) {} + virtual ~ConfigTest() {} virtual void SetUp() { InitializeConfig(); diff --git a/test/cpu_speed_test.cc b/test/cpu_speed_test.cc index 569ff26..be651b4 100644 --- a/test/cpu_speed_test.cc +++ b/test/cpu_speed_test.cc @@ -22,6 +22,7 @@ class CpuSpeedTest : public ::libvpx_test::EncoderTest, libvpx_test::TestMode, int> { protected: CpuSpeedTest() : EncoderTest(GET_PARAM(0)) {} + virtual ~CpuSpeedTest() {} virtual void SetUp() { InitializeConfig(); diff --git a/test/keyframe_test.cc b/test/keyframe_test.cc index 7ee2898..d8b21a1 100644 --- a/test/keyframe_test.cc +++ b/test/keyframe_test.cc @@ -21,6 +21,7 @@ class KeyframeTest : public ::libvpx_test::EncoderTest, public ::libvpx_test::CodecTestWithParam { protected: KeyframeTest() : EncoderTest(GET_PARAM(0)) {} + virtual ~KeyframeTest() {} virtual void SetUp() { InitializeConfig(); diff --git a/test/superframe_test.cc b/test/superframe_test.cc index d91e7b1..c0f542d 100644 --- a/test/superframe_test.cc +++ b/test/superframe_test.cc @@ -21,6 +21,7 @@ class SuperframeTest : public ::libvpx_test::EncoderTest, protected: SuperframeTest() : EncoderTest(GET_PARAM(0)), modified_buf_(NULL), last_sf_pts_(0) {} + virtual ~SuperframeTest() {} virtual void SetUp() { InitializeConfig(); -- 2.7.4