diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2021-04-11 11:12:51 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-04-12 04:40:51 +0000 |
commit | 8a03a9250994ce1a9eeabef0847b5c69165adb3b (patch) | |
tree | 613740aaea8594ef6e431873ab73a7279071b484 /tests/manual | |
parent | d250e0070701e9c511ef5b1fb0d23995872ad844 (diff) |
Mark overrides in tests to silence compiler warnings
Change-Id: Ieed929dcd7b550a1dc365d34b6f20f2f0e2d057f
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
(cherry picked from commit 0d28805cc7790511b9414a900be57f3b2d8d63a8)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'tests/manual')
-rw-r--r-- | tests/manual/qmltypememory/TestPlugin/plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/manual/qmltypememory/TestPlugin/plugin.cpp b/tests/manual/qmltypememory/TestPlugin/plugin.cpp index 2f0802eba8..9562f06aee 100644 --- a/tests/manual/qmltypememory/TestPlugin/plugin.cpp +++ b/tests/manual/qmltypememory/TestPlugin/plugin.cpp @@ -63,7 +63,7 @@ class TestPlugin : public QQmlExtensionPlugin Q_PLUGIN_METADATA(IID QQmlExtensionInterface_iid) public: - void registerTypes(const char *uri) + void registerTypes(const char *uri) override { Q_ASSERT(uri == QLatin1String("TestPlugin")); qmlRegisterType<TestType>(uri, 1, 0, "TestTypePlugin"); |