We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent a8a191e commit 028fd04Copy full SHA for 028fd04
src/core/qgsgeometry.cpp
@@ -649,7 +649,7 @@ QGis::WkbType QgsGeometry::wkbType() const
649
}
650
651
652
-QGis::GeometryType QgsGeometry::type()
+QGis::GeometryType QgsGeometry::type() const
653
{
654
if ( mDirtyWkb )
655
exportGeosToWkb();
src/core/qgsgeometry.h
@@ -152,7 +152,7 @@ class CORE_EXPORT QgsGeometry
152
QGis::WkbType wkbType() const;
153
154
/** Returns type of the vector */
155
- QGis::GeometryType type();
+ QGis::GeometryType type() const;
156
157
/** Returns true if wkb of the geometry is of WKBMulti* type */
158
bool isMultipart();
0 commit comments