diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2017-04-01 22:12:22 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2017-04-03 04:48:14 +0000 |
commit | a51e1915adc366fafbd36b5a163b14f8d8224447 (patch) | |
tree | 1147e2d78a14207d97cc0bb9341ff2234a9510c6 /src/plugins/geoservices | |
parent | 27218b5c51cc9adf9d120924aa92eb3ccd076492 (diff) | |
download | qtlocation-a51e1915adc366fafbd36b5a163b14f8d8224447.tar.gz |
Fix Clang warning about inconsistent use of override keyword
qgeotiledmappingmanagerengineosm.h:62:14: error: 'createMap' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
Change-Id: I27b55fdf514247549455fffd14b17c97ad2db003
Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
Diffstat (limited to 'src/plugins/geoservices')
-rw-r--r-- | src/plugins/geoservices/osm/qgeotiledmappingmanagerengineosm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/geoservices/osm/qgeotiledmappingmanagerengineosm.h b/src/plugins/geoservices/osm/qgeotiledmappingmanagerengineosm.h index db8b230c..d77ffab5 100644 --- a/src/plugins/geoservices/osm/qgeotiledmappingmanagerengineosm.h +++ b/src/plugins/geoservices/osm/qgeotiledmappingmanagerengineosm.h @@ -59,10 +59,10 @@ public: QGeoServiceProvider::Error *error, QString *errorString); ~QGeoTiledMappingManagerEngineOsm(); - QGeoMap *createMap(); + QGeoMap *createMap() override; const QVector<QGeoTileProviderOsm *> &providers(); QString customCopyright() const; - QGeoCameraCapabilities cameraCapabilities(const QGeoMapType &mapType) const Q_DECL_OVERRIDE; + QGeoCameraCapabilities cameraCapabilities(const QGeoMapType &mapType) const override; protected Q_SLOTS: void onProviderResolutionFinished(const QGeoTileProviderOsm *provider); |