diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2017-04-11 20:32:41 -0700 |
---|---|---|
committer | Alex Blasche <alexander.blasche@qt.io> | 2017-04-12 06:32:11 +0000 |
commit | 8fc081ca4af31d53888c9185334eb357520828c4 (patch) | |
tree | 3ae9baa45ea2c082fd70e9edc823558713edca00 /tests/auto/geotestplugin/qgeotiledmappingmanagerengine_test.h | |
parent | b7b8713feacce4155cacd4bdadf78cc17cb0ecd3 (diff) | |
download | qtlocation-8fc081ca4af31d53888c9185334eb357520828c4.tar.gz |
Fix Clang's inconsistent override warning
This is not just a regular test. This is a plugin that does
load(qt_plugin).
qgeotiledmappingmanagerengine_test.h:89:14: error: 'createMap' overrides a member function but is not marked 'override' [-Werror,-Winconsistent-missing-override]
Change-Id: I523b0abacd5148b2bf08fffd14b488ffa441e68b
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'tests/auto/geotestplugin/qgeotiledmappingmanagerengine_test.h')
-rw-r--r-- | tests/auto/geotestplugin/qgeotiledmappingmanagerengine_test.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/geotestplugin/qgeotiledmappingmanagerengine_test.h b/tests/auto/geotestplugin/qgeotiledmappingmanagerengine_test.h index df729392..01a4b61a 100644 --- a/tests/auto/geotestplugin/qgeotiledmappingmanagerengine_test.h +++ b/tests/auto/geotestplugin/qgeotiledmappingmanagerengine_test.h @@ -86,7 +86,7 @@ public: setTileFetcher(fetcher); } - QGeoMap *createMap() + QGeoMap *createMap() override { return new QGeoTiledMapTest(this); } |