Skip to content

Commit aeb0e71

Browse files
committedMay 29, 2015
fix sip bindings
1 parent 0e55b3b commit aeb0e71

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed
 

‎python/core/geometry/qgscircularstringv2.sip

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,9 @@ class QgsCircularStringV2: public QgsCurveV2
5252
bool pointAt( int i, QgsPointV2& vertex, QgsVertexId::VertexType& type ) const;
5353

5454
void sumUpArea( double& sum ) const;
55+
5556
bool hasCurvedSegments() const;
57+
58+
private:
59+
void segmentize( const QgsPointV2& p1, const QgsPointV2& p2, const QgsPointV2& p3, QList<QgsPointV2>& points ) const;
5660
};

‎src/analysis/vector/qgszonalstatistics.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class ANALYSIS_EXPORT QgsZonalStatistics
6868
{
6969
reset();
7070
}
71-
void reset() { sum = 0; count = 0; max = DBL_MIN; min = DBL_MAX; valueCount.clear(); values.clear(); }
71+
void reset() { sum = 0; count = 0; max = FLT_MIN; min = FLT_MAX; valueCount.clear(); values.clear(); }
7272
void addValue( float value, double weight = 1.0 )
7373
{
7474
if ( weight < 1.0 )

‎src/gui/attributetable/qgsattributetablemodel.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ class GUI_EXPORT QgsAttributeTableModel: public QAbstractTableModel
265265
* Launched when eatures have been deleted
266266
* @param fids feature ids
267267
*/
268-
virtual void featuresDeleted( QgsFeatureIds fid );
268+
virtual void featuresDeleted( QgsFeatureIds fids );
269269
/**
270270
* Launched when a feature has been added
271271
* @param fid feature id

0 commit comments

Comments
 (0)
Please sign in to comment.