Skip to content

Commit edd8a37

Browse files
committed
Fix a const...
1 parent f4b3ad0 commit edd8a37

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

python/core/qgsgeometry.sip

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ class QgsGeometry
113113
QGis::GeometryType type() const;
114114

115115
/** Returns true if wkb of the geometry is of WKBMulti* type */
116-
bool isMultipart();
116+
bool isMultipart() const;
117117

118118
/** compare geometries using GEOS */
119119
bool isGeosEqual( QgsGeometry & );

src/core/qgsgeometry.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,7 @@ QGis::GeometryType QgsGeometry::type() const
679679
}
680680
}
681681

682-
bool QgsGeometry::isMultipart()
682+
bool QgsGeometry::isMultipart() const
683683
{
684684
if ( mDirtyWkb )
685685
exportGeosToWkb();

src/core/qgsgeometry.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ class CORE_EXPORT QgsGeometry
155155
QGis::GeometryType type() const;
156156

157157
/** Returns true if wkb of the geometry is of WKBMulti* type */
158-
bool isMultipart();
158+
bool isMultipart() const;
159159

160160
/** compare geometries using GEOS */
161161
bool isGeosEqual( QgsGeometry & );

0 commit comments

Comments
 (0)