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}
This commit is contained in:
@ -34,7 +34,7 @@ class RefCountedBindTester : public RefCountInterface {
|
||||
int AddRef() const override {
|
||||
return ++count_;
|
||||
}
|
||||
int Release() const {
|
||||
int Release() const override {
|
||||
return --count_;
|
||||
}
|
||||
int RefCount() const { return count_; }
|
||||
|
||||
Reference in New Issue
Block a user