More const-correctness for QgsGeometry

This commit is contained in:
Matthias Kuhn 2014-12-21 09:27:26 +01:00
parent a8a191ea37
commit 028fd043a5
2 changed files with 2 additions and 2 deletions

View File

@ -649,7 +649,7 @@ QGis::WkbType QgsGeometry::wkbType() const
}
QGis::GeometryType QgsGeometry::type()
QGis::GeometryType QgsGeometry::type() const
{
if ( mDirtyWkb )
exportGeosToWkb();

View File

@ -152,7 +152,7 @@ class CORE_EXPORT QgsGeometry
QGis::WkbType wkbType() const;
/** Returns type of the vector */
QGis::GeometryType type();
QGis::GeometryType type() const;
/** Returns true if wkb of the geometry is of WKBMulti* type */
bool isMultipart();