mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
More const-correctness for QgsGeometry
This commit is contained in:
parent
a8a191ea37
commit
028fd043a5
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user