[vlc-devel] [PATCH 2/3] adaptive: AbstractAdapatiationLogic: mark getPeriodDuration as override
Alexandre Janniaux
ajanni at videolabs.io
Tue Feb 9 14:03:06 UTC 2021
Fix the warning:
../../modules/demux/adaptive/logic/AbstractAdaptationLogic.h:51:45: warning: 'updateDownloadRate' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual void updateDownloadRate (const ID &, size_t, vlc_tick_t);
^
---
modules/demux/adaptive/logic/AbstractAdaptationLogic.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/demux/adaptive/logic/AbstractAdaptationLogic.h b/modules/demux/adaptive/logic/AbstractAdaptationLogic.h
index 33becd4aca..b75bce3051 100644
--- a/modules/demux/adaptive/logic/AbstractAdaptationLogic.h
+++ b/modules/demux/adaptive/logic/AbstractAdaptationLogic.h
@@ -48,7 +48,7 @@ namespace adaptive
virtual ~AbstractAdaptationLogic ();
virtual BaseRepresentation* getNextRepresentation(BaseAdaptationSet *, BaseRepresentation *) = 0;
- virtual void updateDownloadRate (const ID &, size_t, vlc_tick_t);
+ virtual void updateDownloadRate (const ID &, size_t, vlc_tick_t) override;
virtual void trackerEvent (const TrackerEvent &) override {}
void setMaxDeviceResolution (int, int);
--
2.30.1
More information about the vlc-devel
mailing list