Navigation Menu

Skip to content

Commit

Permalink
Fix use of integer constants in boolean context warning
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jul 12, 2017
1 parent 3c1bdf0 commit 8fc37bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgshistogramwidget.cpp
Expand Up @@ -84,7 +84,7 @@ QgsHistogramWidget::~QgsHistogramWidget()

static bool _rangesByLower( const QgsRendererRange &a, const QgsRendererRange &b )
{
return a.lowerValue() < b.lowerValue() ? -1 : 0;
return a.lowerValue() < b.lowerValue();
}

void QgsHistogramWidget::setGraduatedRanges( const QgsRangeList &ranges )
Expand Down

0 comments on commit 8fc37bf

Please sign in to comment.