]> granicus.if.org Git - libvpx/commitdiff
tests: fix Continue() signatures
authorJames Zern <jzern@google.com>
Wed, 8 Aug 2012 00:44:33 +0000 (17:44 -0700)
committerJames Zern <jzern@google.com>
Wed, 8 Aug 2012 00:44:33 +0000 (17:44 -0700)
they're const member functions, they need to match the base class to be
called

Change-Id: Id0580c5078b5876ead6731d95d8b86fef4029c40

test/config_test.cc
test/keyframe_test.cc

index e595786e59848618f14486e56b618ca1698ee99f..c4da46e2e96218146bb6bed9dbf7075b9de3e0f8 100644 (file)
@@ -38,7 +38,7 @@ class ConfigTest : public ::libvpx_test::EncoderTest,
     ++frame_count_out_;
   }
 
-  virtual bool Continue() {
+  virtual bool Continue() const {
     return !HasFatalFailure() && !abort_;
   }
 
index aacccb1b8ae0bb60bb3fa4697dbc732bebab629b..a7e87a12d938c4c6028fbc3fccd8f39232862b7a 100644 (file)
@@ -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_;
   }