From acd3a32c1fbef3676b7aa275050a43a5f6ae4eb8 Mon Sep 17 00:00:00 2001 From: wonder Date: Wed, 12 Nov 2008 19:54:21 +0000 Subject: [PATCH] typedef for size_t changed to be defined outside classes. git-svn-id: http://svn.osgeo.org/qgis/trunk@9629 c8812cc2-4d05-0410-92ff-de0c093fc19c --- python/core/qgsfeature.sip | 2 -- python/core/qgsgeometry.sip | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) 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; /**