mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
Fix incorrect /Transfer/ for geometry collection
This commit is contained in:
parent
386d52d873
commit
ffbf93a657
@ -60,7 +60,7 @@ Adds a geometry and takes ownership. Returns true in case of success.
|
||||
:rtype: bool
|
||||
%End
|
||||
|
||||
virtual bool insertGeometry( QgsAbstractGeometry *g, int index /Transfer/ );
|
||||
virtual bool insertGeometry( QgsAbstractGeometry *g /Transfer/, int index );
|
||||
%Docstring
|
||||
Inserts a geometry before a specified index and takes ownership. Returns true in case of success.
|
||||
\param g geometry to insert. Ownership is transferred to the collection.
|
||||
|
@ -69,7 +69,7 @@ class CORE_EXPORT QgsGeometryCollection: public QgsAbstractGeometry
|
||||
* \param g geometry to insert. Ownership is transferred to the collection.
|
||||
* \param index position to insert geometry before
|
||||
*/
|
||||
virtual bool insertGeometry( QgsAbstractGeometry *g, int index SIP_TRANSFER );
|
||||
virtual bool insertGeometry( QgsAbstractGeometry *g SIP_TRANSFER, int index );
|
||||
|
||||
/** Removes a geometry from the collection.
|
||||
* \param nr index of geometry to remove
|
||||
|
Loading…
x
Reference in New Issue
Block a user