Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Deprecate for sip
  • Loading branch information
m-kuhn committed Feb 6, 2019
1 parent 612576c commit 2400050
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/geometry/qgsgeometry.sip.in
Expand Up @@ -125,7 +125,7 @@ and a deep copy. Where possible, use constGet() instead.
.. versionadded:: 3.0
%End

void set( QgsAbstractGeometry *geometry /Transfer/ );
void set( QgsAbstractGeometry *geometry /Transfer/ ) /Deprecated/;
%Docstring
Sets the underlying geometry store. Ownership of geometry is transferred.

Expand Down
2 changes: 1 addition & 1 deletion src/core/geometry/qgsgeometry.h
Expand Up @@ -204,7 +204,7 @@ class CORE_EXPORT QgsGeometry
* \see constGet()
* \since QGIS 3.0
*/
void set( QgsAbstractGeometry *geometry SIP_TRANSFER );
void set( QgsAbstractGeometry *geometry SIP_TRANSFER ) SIP_DEPRECATED;

/**
* Returns true if the geometry is null (ie, contains no underlying geometry
Expand Down

0 comments on commit 2400050

Please sign in to comment.