Skip to content

Commit

Permalink
Fix missing Factory annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Oct 23, 2018
1 parent 561d59b commit 64c99b7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion python/core/auto_generated/qgsvectordataprovider.sip.in
Expand Up @@ -503,7 +503,7 @@ It returns false by default.
Must be implemented by providers that support delete styles from db returning true
%End

virtual QgsFeatureRenderer *createRenderer( const QVariantMap &configuration = QVariantMap() ) const;
virtual QgsFeatureRenderer *createRenderer( const QVariantMap &configuration = QVariantMap() ) const /Factory/;
%Docstring
Creates a new vector layer feature renderer, using provider backend specific information.

Expand Down
2 changes: 1 addition & 1 deletion src/core/qgsvectordataprovider.cpp
Expand Up @@ -694,7 +694,7 @@ bool QgsVectorDataProvider::isDeleteStyleFromDatabaseSupported() const
return false;
}

QgsFeatureRenderer *QgsVectorDataProvider::createRenderer( const QVariantMap & ) const SIP_FACTORY
QgsFeatureRenderer *QgsVectorDataProvider::createRenderer( const QVariantMap & ) const
{
return nullptr;
}
Expand Down
2 changes: 1 addition & 1 deletion src/core/qgsvectordataprovider.h
Expand Up @@ -518,7 +518,7 @@ class CORE_EXPORT QgsVectorDataProvider : public QgsDataProvider, public QgsFeat
*
* \since QGIS 3.2
*/
virtual QgsFeatureRenderer *createRenderer( const QVariantMap &configuration = QVariantMap() ) const;
virtual QgsFeatureRenderer *createRenderer( const QVariantMap &configuration = QVariantMap() ) const SIP_FACTORY;

static QVariant convertValue( QVariant::Type type, const QString &value );

Expand Down

0 comments on commit 64c99b7

Please sign in to comment.