From: James Zern Date: Tue, 11 Dec 2018 07:01:01 +0000 (-0800) Subject: test/svc_end_to_end_test: fix SetConfig() signature X-Git-Tag: v1.8.0~80^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7fb77b33ef362df235fe6da3dc202ca5e0bdb350;p=libvpx test/svc_end_to_end_test: fix SetConfig() signature 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 --- diff --git a/test/svc_end_to_end_test.cc b/test/svc_end_to_end_test.cc index 07c6581bf..2f8cf3083 100644 --- a/test/svc_end_to_end_test.cc +++ b/test/svc_end_to_end_test.cc @@ -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_; }