]> granicus.if.org Git - libvpx/commitdiff
test/svc_end_to_end_test: fix SetConfig() signature
authorJames Zern <jzern@google.com>
Tue, 11 Dec 2018 07:01:01 +0000 (23:01 -0800)
committerJames Zern <jzern@google.com>
Tue, 11 Dec 2018 07:01:01 +0000 (23:01 -0800)
make the parameter constant to match the base class and mark the
function virtual. virtual is used to match the rest of the code base,
but now that c++11 is required all such functions could be changed to
override.

since:
bb3a82ec3 vp9 svc: add test for scaling partition on 1080p crash.

Change-Id: I4717f0116a231ea954b34da9cfec69c462c21699

test/svc_end_to_end_test.cc

index 07c6581bf97ced03463abfea4194afd198842bc4..2f8cf3083107c42ed36cf47b9a6ac449483aa9ae 100644 (file)
@@ -57,7 +57,7 @@ class ScalePartitionOnePassCbrSvc
     ++mismatch_nframes_;
   }
 
-  virtual void SetConfig(int /* num_temporal_layer*/) {}
+  virtual void SetConfig(const int /*num_temporal_layer*/) {}
 
   unsigned int GetMismatchFrames() const { return mismatch_nframes_; }