commit | e5a1f271c0b29b6bade4e7bcd94f27a9b569d09a | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Fri Aug 21 02:58:25 2015 +0200 |
committer | Corentin Wallez <cwallez@chromium.org> | Fri Aug 21 14:13:34 2015 +0000 |
tree | 2f83de37959b91eed4daa12fcbb99151786a9378 | |
parent | 37c3979e47bf93958b426aaa31c1d65aef881b5f [diff] [blame] |
Use override in all the places where it is possible This will avoid -Winconsistent-overrides in the future. Done using the -Wsuggest-override warning of GCC 5.1 BUG= Change-Id: I707a649dc368f5dd1e139fd144370abcac0b6263 Reviewed-on: https://chromium-review.googlesource.com/294920 Reviewed-by: Jamie Madill <jmadill@chromium.org> Tested-by: Corentin Wallez <cwallez@chromium.org>
diff --git a/src/compiler/translator/ValidateOutputs.h b/src/compiler/translator/ValidateOutputs.h index 4ba85d8..06f6399 100644 --- a/src/compiler/translator/ValidateOutputs.h +++ b/src/compiler/translator/ValidateOutputs.h
@@ -21,7 +21,7 @@ int validateAndCountErrors(TInfoSinkBase &sink) const; - virtual void visitSymbol(TIntermSymbol*); + void visitSymbol(TIntermSymbol *) override; private: int mMaxDrawBuffers;