diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2020-05-02 16:58:29 -0700 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-05-20 14:09:19 +0200 |
commit | 5488f0731ebe9c5566abb897f0cb8d298c5944da (patch) | |
tree | 8a18c1127fe5641fe229f03c852bf1696a9ca401 | |
parent | 942de9e990a64cf012f3c7c42304d3eda5121139 (diff) |
Fix Clang 10 warning about inconsistent override
qwebglintegration.h:62:32: warning: 'createPlatformOffscreenSurface' overrides a member function but is not marked
'override' [- Winconsistent-missing-override]
Task-number: QTBUG-83666
Change-Id: I99ab0f318b1c43b89888fffd160b5b8264692657
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Reviewed-by: Jesus Fernandez <jsfdez@gmail.com>
(cherry picked from commit d47c3484238a3b2836c6db4e9d63c06705d722f9)
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
-rw-r--r-- | src/plugins/platforms/webgl/qwebglintegration.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/webgl/qwebglintegration.h b/src/plugins/platforms/webgl/qwebglintegration.h index 2e1d6c4..d2716a8 100644 --- a/src/plugins/platforms/webgl/qwebglintegration.h +++ b/src/plugins/platforms/webgl/qwebglintegration.h @@ -59,7 +59,7 @@ public: QPlatformInputContext *inputContext() const override; QPlatformTheme *createPlatformTheme(const QString &name) const override; QPlatformWindow *createPlatformWindow(QWindow *window) const override; - QPlatformOffscreenSurface *createPlatformOffscreenSurface(QOffscreenSurface *surface) const; + QPlatformOffscreenSurface *createPlatformOffscreenSurface(QOffscreenSurface *surface) const override; QPlatformBackingStore *createPlatformBackingStore(QWindow *window) const override; QPlatformOpenGLContext *createPlatformOpenGLContext(QOpenGLContext *context) const override; |