diff --git a/python/core/qgsfeature.sip b/python/core/qgsfeature.sip index 69fa6a0f68f..1f4a01794bb 100644 --- a/python/core/qgsfeature.sip +++ b/python/core/qgsfeature.sip @@ -8,8 +8,6 @@ class QgsFeature public: - typedef unsigned int size_t; - //! Constructor QgsFeature(int id = 0, QString typeName = "" ); diff --git a/python/core/qgsgeometry.sip b/python/core/qgsgeometry.sip index 29278fb875d..51ca4ccf31e 100644 --- a/python/core/qgsgeometry.sip +++ b/python/core/qgsgeometry.sip @@ -14,6 +14,7 @@ typedef QVector< QVector > QgsMultiPolyline; /** a collection of QgsPolygons that share a common collection of attributes */ typedef QVector< QVector< QVector > > QgsMultiPolygon; +typedef unsigned int size_t; class QgsGeometry { @@ -52,7 +53,6 @@ class QgsGeometry /** construct geometry from a rectangle */ static QgsGeometry* fromRect(const QgsRectangle& rect) /Factory/; - typedef unsigned int size_t; /**