From 7fb77b33ef362df235fe6da3dc202ca5e0bdb350 Mon Sep 17 00:00:00 2001 From: James Zern Date: Mon, 10 Dec 2018 23:01:01 -0800 Subject: [PATCH] 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 --- test/svc_end_to_end_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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_; } -- 2.50.1