From a9a1eac6c74989ae121ec8440212a2a01125b544 Mon Sep 17 00:00:00 2001 From: James Zern Date: Tue, 7 Aug 2012 17:44:33 -0700 Subject: [PATCH] tests: fix Continue() signatures they're const member functions, they need to match the base class to be called Change-Id: Id0580c5078b5876ead6731d95d8b86fef4029c40 --- test/config_test.cc | 2 +- test/keyframe_test.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/config_test.cc b/test/config_test.cc index e595786..c4da46e 100644 --- a/test/config_test.cc +++ b/test/config_test.cc @@ -38,7 +38,7 @@ class ConfigTest : public ::libvpx_test::EncoderTest, ++frame_count_out_; } - virtual bool Continue() { + virtual bool Continue() const { return !HasFatalFailure() && !abort_; } diff --git a/test/keyframe_test.cc b/test/keyframe_test.cc index aacccb1..a7e87a1 100644 --- a/test/keyframe_test.cc +++ b/test/keyframe_test.cc @@ -26,7 +26,7 @@ class KeyframeTest : public ::libvpx_test::EncoderTest, kf_do_force_kf_ = false; } - virtual bool Continue() { + virtual bool Continue() const { return !HasFatalFailure() && !abort_; } -- 2.7.4