summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2017-04-11 20:32:41 -0700
committerAlex Blasche <alexander.blasche@qt.io>2017-04-12 06:32:11 +0000
commit8fc081ca4af31d53888c9185334eb357520828c4 (patch)
tree3ae9baa45ea2c082fd70e9edc823558713edca00 /tests
parentb7b8713feacce4155cacd4bdadf78cc17cb0ecd3 (diff)
downloadqtlocation-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')
-rw-r--r--tests/auto/geotestplugin/qgeotiledmappingmanagerengine_test.h2
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);
}