Skip to content

Commit 2400050

Browse files
committedFeb 6, 2019
Deprecate for sip
1 parent 612576c commit 2400050

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎python/core/auto_generated/geometry/qgsgeometry.sip.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ and a deep copy. Where possible, use constGet() instead.
125125
.. versionadded:: 3.0
126126
%End
127127

128-
void set( QgsAbstractGeometry *geometry /Transfer/ );
128+
void set( QgsAbstractGeometry *geometry /Transfer/ ) /Deprecated/;
129129
%Docstring
130130
Sets the underlying geometry store. Ownership of geometry is transferred.
131131

‎src/core/geometry/qgsgeometry.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ class CORE_EXPORT QgsGeometry
204204
* \see constGet()
205205
* \since QGIS 3.0
206206
*/
207-
void set( QgsAbstractGeometry *geometry SIP_TRANSFER );
207+
void set( QgsAbstractGeometry *geometry SIP_TRANSFER ) SIP_DEPRECATED;
208208

209209
/**
210210
* Returns true if the geometry is null (ie, contains no underlying geometry

0 commit comments

Comments
 (0)
Please sign in to comment.