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