Skip to content

Commit

Permalink
Add missing sip factory
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso authored and nyalldawson committed Mar 4, 2021
1 parent ee0a977 commit 48c07dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/core/auto_generated/qgsprovidermetadata.sip.in
Expand Up @@ -482,7 +482,7 @@ Ownership is transferred to the caller.
.. versionadded:: 3.10
%End

virtual QgsAbstractProviderConnection *createConnection( const QString &name ) throw( QgsProviderConnectionException );
virtual QgsAbstractProviderConnection *createConnection( const QString &name ) throw( QgsProviderConnectionException ) /Factory/;
%Docstring
Creates a new connection by loading the connection with the given ``name`` from the settings.
Ownership is transferred to the caller.
Expand Down
2 changes: 1 addition & 1 deletion src/core/qgsprovidermetadata.h
Expand Up @@ -530,7 +530,7 @@ class CORE_EXPORT QgsProviderMetadata : public QObject
* \throws QgsProviderConnectionException
* \see findConnection()
*/
virtual QgsAbstractProviderConnection *createConnection( const QString &name ) SIP_THROW( QgsProviderConnectionException );
virtual QgsAbstractProviderConnection *createConnection( const QString &name ) SIP_THROW( QgsProviderConnectionException ) SIP_FACTORY;

/**
* Removes the connection with the given \a name from the settings.
Expand Down

0 comments on commit 48c07dc

Please sign in to comment.