[vlc-devel] [PATCH 3/3] adaptive: BasePeriod: mark getPeriodDuration as override
Alexandre Janniaux
ajanni at videolabs.io
Tue Feb 9 14:03:07 UTC 2021
Fix the warning:
../../modules/demux/smooth/playlist/../../adaptive/playlist/BasePeriod.h:49:36: warning: 'getPeriodDuration' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual vlc_tick_t getPeriodDuration() const;
^
---
modules/demux/adaptive/playlist/BasePeriod.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/demux/adaptive/playlist/BasePeriod.h b/modules/demux/adaptive/playlist/BasePeriod.h
index 3d9b81571f..5e40a2364c 100644
--- a/modules/demux/adaptive/playlist/BasePeriod.h
+++ b/modules/demux/adaptive/playlist/BasePeriod.h
@@ -46,7 +46,7 @@ namespace adaptive
void debug (vlc_object_t *,int = 0) const;
virtual vlc_tick_t getPeriodStart() const override;
- virtual vlc_tick_t getPeriodDuration() const;
+ virtual vlc_tick_t getPeriodDuration() const override;
virtual BasePlaylist *getPlaylist() const override;
Property<vlc_tick_t> duration;
--
2.30.1
More information about the vlc-devel
mailing list