Commit 25e563fe by Corentin Wallez

Add -Wnon-virtual-dtor and fix a warning.

BUG= Change-Id: I234e3a963e110762bac2a89d146b60f028928fb5 Reviewed-on: https://chromium-review.googlesource.com/302487 Tryjob-Request: Corentin Wallez <cwallez@chromium.org> Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org> Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Tested-by: 's avatarCorentin Wallez <cwallez@chromium.org>
parent 5d124a69
...@@ -32,6 +32,7 @@ ...@@ -32,6 +32,7 @@
'-Wundef', '-Wundef',
'-Wwrite-strings', '-Wwrite-strings',
'-Wno-format-nonliteral', '-Wno-format-nonliteral',
'-Wnon-virtual-dtor',
], ],
}, },
'target_defaults': 'target_defaults':
......
...@@ -22,7 +22,7 @@ class CompilerGL : public CompilerImpl ...@@ -22,7 +22,7 @@ class CompilerGL : public CompilerImpl
~CompilerGL() override {} ~CompilerGL() override {}
gl::Error release() override { return gl::Error(GL_NO_ERROR); } gl::Error release() override { return gl::Error(GL_NO_ERROR); }
ShShaderOutput getTranslatorOutputType() const { return mTranslatorOutputType; } ShShaderOutput getTranslatorOutputType() const override { return mTranslatorOutputType; }
private: private:
ShShaderOutput mTranslatorOutputType; ShShaderOutput mTranslatorOutputType;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment