From: James Zern Date: Wed, 8 Aug 2012 00:44:33 +0000 (-0700) Subject: tests: fix Continue() signatures X-Git-Tag: v1.2.0~113^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a9a1eac6c74989ae121ec8440212a2a01125b544;p=libvpx tests: fix Continue() signatures they're const member functions, they need to match the base class to be called Change-Id: Id0580c5078b5876ead6731d95d8b86fef4029c40 --- diff --git a/test/config_test.cc b/test/config_test.cc index e595786e5..c4da46e2e 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 aacccb1b8..a7e87a12d 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_; }