Skip to content

Commit

Permalink
Add some missing overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Mar 16, 2015
1 parent ff52a05 commit 8be294f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/core/qgsdataitemproviderregistry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ class QgsDataItemProviderFromPlugin : public QgsDataItemProvider
{
}

virtual QString name() { return mName; }
virtual QString name() override { return mName; }

virtual int capabilities() { return mCapabilitiesFunc(); }
virtual int capabilities() override { return mCapabilitiesFunc(); }

virtual QgsDataItem* createDataItem( const QString& path, QgsDataItem* parentItem ) { return mDataItemFunc( path, parentItem ); }
virtual QgsDataItem* createDataItem( const QString& path, QgsDataItem* parentItem ) override { return mDataItemFunc( path, parentItem ); }

protected:
QString mName;
Expand Down

0 comments on commit 8be294f

Please sign in to comment.