summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2020-05-02 16:58:29 -0700
committerThiago Macieira <thiago.macieira@intel.com>2020-05-05 12:26:46 -0700
commitd47c3484238a3b2836c6db4e9d63c06705d722f9 (patch)
tree943201a6c06311eb9646356a70fccd359e182744
parent16a8520a456520de7f52f630afa76e6f09f21b70 (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 Pick-To: 5.15 Change-Id: I99ab0f318b1c43b89888fffd160b5b8264692657 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io> Reviewed-by: Jesus Fernandez <jsfdez@gmail.com>
-rw-r--r--src/plugins/platforms/webgl/qwebglintegration.h2
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;