Enable -Winconsistent-missing-override flag.
The problem with gmock is worked around by commenting out any other override declarations in classes using gmock.
NOPRESUBMIT=True
BUG=webrtc:3970
Review-Url: https://codereview.webrtc.org/1921653002
Cr-Commit-Position: refs/heads/master@{#12563}
diff --git a/webrtc/api/webrtcsession_unittest.cc b/webrtc/api/webrtcsession_unittest.cc
index 24e830e..5e9b039 100644
--- a/webrtc/api/webrtcsession_unittest.cc
+++ b/webrtc/api/webrtcsession_unittest.cc
@@ -191,7 +191,7 @@
// Some local candidates are removed.
void OnIceCandidatesRemoved(
- const std::vector<cricket::Candidate>& candidates) {
+ const std::vector<cricket::Candidate>& candidates) override {
num_candidates_removed_ += candidates.size();
}