[vlc-commits] adaptive: Segment: mark debug as override

Alexandre Janniaux git at videolan.org
Mon Feb 15 15:06:05 UTC 2021


vlc | branch: master | Alexandre Janniaux <ajanni at videolabs.io> | Tue Feb  9 15:03:05 2021 +0100| [f65953ef4db7b14ae99884dd6a5ca62dc1991837] | committer: Alexandre Janniaux

adaptive: Segment: mark debug as override

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;

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f65953ef4db7b14ae99884dd6a5ca62dc1991837
---

 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:



More information about the vlc-commits mailing list