Skip to content

Commit acd3a32

Browse files
author
wonder
committedNov 12, 2008
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
1 parent 499fab1 commit acd3a32

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed
 

‎python/core/qgsfeature.sip

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ class QgsFeature
88

99
public:
1010

11-
typedef unsigned int size_t;
12-
1311
//! Constructor
1412
QgsFeature(int id = 0, QString typeName = "" );
1513

‎python/core/qgsgeometry.sip

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ typedef QVector< QVector<QgsPoint> > QgsMultiPolyline;
1414
/** a collection of QgsPolygons that share a common collection of attributes */
1515
typedef QVector< QVector< QVector<QgsPoint> > > QgsMultiPolygon;
1616

17+
typedef unsigned int size_t;
1718

1819
class QgsGeometry
1920
{
@@ -52,7 +53,6 @@ class QgsGeometry
5253
/** construct geometry from a rectangle */
5354
static QgsGeometry* fromRect(const QgsRectangle& rect) /Factory/;
5455

55-
typedef unsigned int size_t;
5656

5757

5858
/**

0 commit comments

Comments
 (0)
Please sign in to comment.