File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ class QgsMultiCurveV2: public QgsGeometryCollectionV2
18
18
QString asJSON( int precision = 17 ) const;
19
19
20
20
/** Adds a geometry and takes ownership. Returns true in case of success*/
21
- virtual bool addGeometry( QgsAbstractGeometryV2* g );
21
+ virtual bool addGeometry( QgsAbstractGeometryV2* g /Transfer/ );
22
22
/** Returns a geometry without curves. Caller takes ownership*/
23
23
QgsAbstractGeometryV2* segmentize() const /Factory/;
24
24
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ class QgsMultiLineStringV2: public QgsMultiCurveV2
18
18
QString asJSON( int precision = 17 ) const;
19
19
20
20
/** Adds a geometry and takes ownership. Returns true in case of success*/
21
- virtual bool addGeometry( QgsAbstractGeometryV2* g );
21
+ virtual bool addGeometry( QgsAbstractGeometryV2* g /Transfer/ );
22
22
23
23
/** Returns the geometry converted to the more generic curve type QgsMultiCurve
24
24
@return the converted geometry. Caller takes ownership*/
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ class QgsMultiPointV2: public QgsGeometryCollectionV2
19
19
virtual int nCoordinates() const;
20
20
21
21
/** Adds a geometry and takes ownership. Returns true in case of success*/
22
- virtual bool addGeometry( QgsAbstractGeometryV2* g );
22
+ virtual bool addGeometry( QgsAbstractGeometryV2* g /Transfer/ );
23
23
24
24
protected:
25
25
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ class QgsMultiPolygonV2: public QgsMultiSurfaceV2
18
18
19
19
20
20
/** Adds a geometry and takes ownership. Returns true in case of success*/
21
- virtual bool addGeometry( QgsAbstractGeometryV2* g );
21
+ virtual bool addGeometry( QgsAbstractGeometryV2* g /Transfer/ );
22
22
23
23
/** Returns the geometry converted to the more generic curve type QgsMultiSurface
24
24
@return the converted geometry. Caller takes ownership*/
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ class QgsMultiSurfaceV2: public QgsGeometryCollectionV2
18
18
19
19
20
20
/** Adds a geometry and takes ownership. Returns true in case of success*/
21
- virtual bool addGeometry( QgsAbstractGeometryV2* g );
21
+ virtual bool addGeometry( QgsAbstractGeometryV2* g /Transfer/ );
22
22
23
23
/** Returns a geometry without curves. Caller takes ownership*/
24
24
QgsAbstractGeometryV2* segmentize() const /Factory/;
You can’t perform that action at this time.
0 commit comments