Skip to content

Commit

Permalink
Leave only one setGeometry method to avoid ambiguous behaviour, added…
Browse files Browse the repository at this point in the history
… missing /Transfer/ annotation.

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12597 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Dec 23, 2009
1 parent 2b4e46f commit 6cc7da0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/core/qgsfeature.sip
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,11 @@ class QgsFeature

/** Set this feature's geometry from another QgsGeometry object (deep copy)
*/
void setGeometry(const QgsGeometry& geom);
//void setGeometry(const QgsGeometry& geom);

/** Set this feature's geometry (takes geometry ownership)
*/
void setGeometry(QgsGeometry* geom);
void setGeometry(QgsGeometry* geom /Transfer/);

/**
* Set this feature's geometry from WKB
Expand Down

0 comments on commit 6cc7da0

Please sign in to comment.