From 9a0a935460feea0ae6eb02a8e5324b4e346b332e Mon Sep 17 00:00:00 2001 From: Sebastian Jansson Date: Thu, 3 May 2018 11:18:39 +0200 Subject: [PATCH] Makes protected destructor public in TargetTransferRateObserver. Bug: webrtc:9155 Change-Id: Id459b18d0933e5b5be89df5f7547f080539d4508 Reviewed-on: https://webrtc-review.googlesource.com/73379 Commit-Queue: Sebastian Jansson Reviewed-by: Karl Wiberg Cr-Commit-Position: refs/heads/master@{#23097} --- .../network_control/include/network_control.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/congestion_controller/network_control/include/network_control.h b/modules/congestion_controller/network_control/include/network_control.h index d6ce10a7e6..13d7c9df08 100644 --- a/modules/congestion_controller/network_control/include/network_control.h +++ b/modules/congestion_controller/network_control/include/network_control.h @@ -19,12 +19,10 @@ namespace webrtc { class TargetTransferRateObserver { public: + virtual ~TargetTransferRateObserver() = default; // Called to indicate target transfer rate as well as giving information about // the current estimate of network parameters. virtual void OnTargetTransferRate(TargetTransferRate) = 0; - - protected: - virtual ~TargetTransferRateObserver() = default; }; // Configuration sent to factory create function. The parameters here are