Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix a const...
  • Loading branch information
m-kuhn authored and jef-n committed Feb 26, 2015
1 parent b33c5e8 commit b42adda
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion python/core/qgsgeometry.sip
Expand Up @@ -113,7 +113,7 @@ class QgsGeometry
QGis::GeometryType type() const;

/** Returns true if wkb of the geometry is of WKBMulti* type */
bool isMultipart();
bool isMultipart() const;

/** compare geometries using GEOS */
bool isGeosEqual( QgsGeometry & );
Expand Down
2 changes: 1 addition & 1 deletion src/core/qgsgeometry.cpp
Expand Up @@ -679,7 +679,7 @@ QGis::GeometryType QgsGeometry::type() const
}
}

bool QgsGeometry::isMultipart()
bool QgsGeometry::isMultipart() const
{
if ( mDirtyWkb )
exportGeosToWkb();
Expand Down
2 changes: 1 addition & 1 deletion src/core/qgsgeometry.h
Expand Up @@ -155,7 +155,7 @@ class CORE_EXPORT QgsGeometry
QGis::GeometryType type() const;

/** Returns true if wkb of the geometry is of WKBMulti* type */
bool isMultipart();
bool isMultipart() const;

/** compare geometries using GEOS */
bool isGeosEqual( QgsGeometry & );
Expand Down

0 comments on commit b42adda

Please sign in to comment.