Skip to content

Commit

Permalink
More const-correctness for QgsGeometry
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Dec 21, 2014
1 parent a8a191e commit 028fd04
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core/qgsgeometry.cpp
Expand Up @@ -649,7 +649,7 @@ QGis::WkbType QgsGeometry::wkbType() const
}


QGis::GeometryType QgsGeometry::type()
QGis::GeometryType QgsGeometry::type() const
{
if ( mDirtyWkb )
exportGeosToWkb();
Expand Down
2 changes: 1 addition & 1 deletion src/core/qgsgeometry.h
Expand Up @@ -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();
Expand Down

0 comments on commit 028fd04

Please sign in to comment.