Skip to content

Commit

Permalink
Add missing TransferThis annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jan 14, 2022
1 parent 216b9d2 commit 479d37d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -27,7 +27,7 @@ accessed through a :py:class:`QgsProject` via :py:func:`QgsProject.get3DViewsMan
%End
public:

explicit QgsMapViewsManager( QgsProject *project );
explicit QgsMapViewsManager( QgsProject *project /TransferThis/ );
%Docstring
Constructor for QgsMapViewsManager. The project will become the parent object for this
manager.
Expand Down
2 changes: 1 addition & 1 deletion src/core/project/qgsmapviewsmanager.h
Expand Up @@ -47,7 +47,7 @@ class CORE_EXPORT QgsMapViewsManager : public QObject
* Constructor for QgsMapViewsManager. The project will become the parent object for this
* manager.
*/
explicit QgsMapViewsManager( QgsProject *project );
explicit QgsMapViewsManager( QgsProject *project SIP_TRANSFERTHIS );

/**
* Reads the manager's state from a DOM element, restoring all views
Expand Down

0 comments on commit 479d37d

Please sign in to comment.