Skip to content

Commit

Permalink
Fix misplaced SIP_TRANSFER
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Aug 13, 2017
1 parent 975d730 commit d9ad859
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/core/geometry/qgsmultisurface.sip
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class QgsMultiSurface: QgsGeometryCollection



virtual bool addGeometry( QgsAbstractGeometry *g ) /Transfer/;
virtual bool addGeometry( QgsAbstractGeometry *g /Transfer/ );
%Docstring
Adds a geometry and takes ownership. Returns true in case of success
:rtype: bool
Expand Down
2 changes: 1 addition & 1 deletion src/core/geometry/qgsmultisurface.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class CORE_EXPORT QgsMultiSurface: public QgsGeometryCollection


//! Adds a geometry and takes ownership. Returns true in case of success
virtual bool addGeometry( QgsAbstractGeometry *g ) override SIP_TRANSFER;
virtual bool addGeometry( QgsAbstractGeometry *g SIP_TRANSFER ) override;

virtual QgsAbstractGeometry *boundary() const override SIP_FACTORY;

Expand Down

0 comments on commit d9ad859

Please sign in to comment.