[vlc-devel] [PATCH 1/3] adaptive: Segment: mark debug as override
Alexandre Janniaux
ajanni at videolabs.io
Tue Feb 9 14:03:05 UTC 2021
Fix warning:
../../modules/demux/dash/mp4/../mpd/../../adaptive/playlist/Segment.h:103:30: warning: 'debug' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual void debug(vlc_object_t *,int = 0) const;
---
modules/demux/adaptive/playlist/Segment.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/demux/adaptive/playlist/Segment.h b/modules/demux/adaptive/playlist/Segment.h
index 39166dc7ee..978aad17c0 100644
--- a/modules/demux/adaptive/playlist/Segment.h
+++ b/modules/demux/adaptive/playlist/Segment.h
@@ -100,7 +100,7 @@ namespace adaptive
virtual void setSourceUrl( const std::string &url );
virtual Url getUrlSegment() const override;
virtual const std::vector<Segment*> & subSegments() const;
- virtual void debug(vlc_object_t *,int = 0) const;
+ virtual void debug(vlc_object_t *,int = 0) const override;
virtual void addSubSegment(SubSegment *);
protected:
--
2.30.1
More information about the vlc-devel
mailing list