Skip to content

Commit

Permalink
fix sip bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed May 29, 2015
1 parent 0e55b3b commit aeb0e71
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions python/core/geometry/qgscircularstringv2.sip
Expand Up @@ -52,5 +52,9 @@ class QgsCircularStringV2: public QgsCurveV2
bool pointAt( int i, QgsPointV2& vertex, QgsVertexId::VertexType& type ) const;

void sumUpArea( double& sum ) const;

bool hasCurvedSegments() const;

private:
void segmentize( const QgsPointV2& p1, const QgsPointV2& p2, const QgsPointV2& p3, QList<QgsPointV2>& points ) const;
};
2 changes: 1 addition & 1 deletion src/analysis/vector/qgszonalstatistics.h
Expand Up @@ -68,7 +68,7 @@ class ANALYSIS_EXPORT QgsZonalStatistics
{
reset();
}
void reset() { sum = 0; count = 0; max = DBL_MIN; min = DBL_MAX; valueCount.clear(); values.clear(); }
void reset() { sum = 0; count = 0; max = FLT_MIN; min = FLT_MAX; valueCount.clear(); values.clear(); }
void addValue( float value, double weight = 1.0 )
{
if ( weight < 1.0 )
Expand Down
2 changes: 1 addition & 1 deletion src/gui/attributetable/qgsattributetablemodel.h
Expand Up @@ -265,7 +265,7 @@ class GUI_EXPORT QgsAttributeTableModel: public QAbstractTableModel
* Launched when eatures have been deleted
* @param fids feature ids
*/
virtual void featuresDeleted( QgsFeatureIds fid );
virtual void featuresDeleted( QgsFeatureIds fids );
/**
* Launched when a feature has been added
* @param fid feature id
Expand Down

0 comments on commit aeb0e71

Please sign in to comment.