[vlc-commits] adaptive: AbstractAdapatiationLogic: mark getPeriodDuration as override
Alexandre Janniaux
git at videolan.org
Mon Feb 15 15:06:06 UTC 2021
vlc | branch: master | Alexandre Janniaux <ajanni at videolabs.io> | Tue Feb 9 15:03:06 2021 +0100| [e57bd2aca049bc9ad2a014c2a552b6c68235a5ed] | committer: Alexandre Janniaux
adaptive: AbstractAdapatiationLogic: mark getPeriodDuration as override
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);
^
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e57bd2aca049bc9ad2a014c2a552b6c68235a5ed
---
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);
More information about the vlc-commits
mailing list