Skip to content
Permalink
Browse files

More const-correctness for QgsGeometry

  • Loading branch information
m-kuhn committed Dec 21, 2014
1 parent a8a191e commit 028fd043a52ff8e5cc3f4535cf5dc767af9fb708
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/core/qgsgeometry.cpp
  2. +1 −1 src/core/qgsgeometry.h
@@ -649,7 +649,7 @@ QGis::WkbType QgsGeometry::wkbType() const
}


QGis::GeometryType QgsGeometry::type()
QGis::GeometryType QgsGeometry::type() const
{
if ( mDirtyWkb )
exportGeosToWkb();
@@ -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();

0 comments on commit 028fd04

Please sign in to comment.
You can’t perform that action at this time.