Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1391)

Unified Diff: webrtc/api/videotrack.h

Issue 1921653002: Enable -Winconsistent-missing-override flag. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebase. Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/api/test/fakedtlsidentitystore.h ('k') | webrtc/api/videotracksource.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/videotrack.h
diff --git a/webrtc/api/videotrack.h b/webrtc/api/videotrack.h
index 2f875321c1ad134fe7184622619a1820c4b96610..60a0a64aec7388a5eea571b89bb17ebb345d9613 100644
--- a/webrtc/api/videotrack.h
+++ b/webrtc/api/videotrack.h
@@ -33,11 +33,11 @@ class VideoTrack : public MediaStreamTrack<VideoTrackInterface>,
const rtc::VideoSinkWants& wants) override;
void RemoveSink(rtc::VideoSinkInterface<cricket::VideoFrame>* sink) override;
- virtual VideoTrackSourceInterface* GetSource() const {
+ VideoTrackSourceInterface* GetSource() const override {
return video_source_.get();
}
- virtual bool set_enabled(bool enable);
- virtual std::string kind() const;
+ bool set_enabled(bool enable) override;
+ std::string kind() const override;
protected:
VideoTrack(const std::string& id, VideoTrackSourceInterface* video_source);
« no previous file with comments | « webrtc/api/test/fakedtlsidentitystore.h ('k') | webrtc/api/videotracksource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698