Skip to content

Commit

Permalink
typedef for size_t changed to be defined outside classes.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9629 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Nov 12, 2008
1 parent cee056b commit cbbcb5b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions python/core/qgsfeature.sip
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ class QgsFeature

public:

typedef unsigned int size_t;

//! Constructor
QgsFeature(int id = 0, QString typeName = "" );

Expand Down
2 changes: 1 addition & 1 deletion python/core/qgsgeometry.sip
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ typedef QVector< QVector<QgsPoint> > QgsMultiPolyline;
/** a collection of QgsPolygons that share a common collection of attributes */
typedef QVector< QVector< QVector<QgsPoint> > > QgsMultiPolygon;

typedef unsigned int size_t;

class QgsGeometry
{
Expand Down Expand Up @@ -52,7 +53,6 @@ class QgsGeometry
/** construct geometry from a rectangle */
static QgsGeometry* fromRect(const QgsRectangle& rect) /Factory/;

typedef unsigned int size_t;


/**
Expand Down

0 comments on commit cbbcb5b

Please sign in to comment.