Skip to content

Commit

Permalink
Add missing override keywords
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Apr 26, 2017
1 parent 3dfc4cf commit 4293de6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/providers/gpx/qgsgpxprovider.h
Expand Up @@ -75,8 +75,7 @@ class QgsGPXProvider : public QgsVectorDataProvider
void changeAttributeValues( QgsGPSObject &obj,
const QgsAttributeMap &attrs );

//! Adds one feature (used by addFeatures())
bool addFeature( QgsFeature &f );
bool addFeature( QgsFeature &f ) override;


enum DataType
Expand Down
3 changes: 1 addition & 2 deletions src/providers/ogr/qgsogrprovider.h
Expand Up @@ -225,8 +225,7 @@ class QgsOgrProvider : public QgsVectorDataProvider

mutable QStringList mSubLayerList;

//! Adds one feature
bool addFeature( QgsFeature &f );
bool addFeature( QgsFeature &f ) override;
//! Deletes one feature
bool deleteFeature( QgsFeatureId id );

Expand Down

0 comments on commit 4293de6

Please sign in to comment.