Skip to content
Permalink
Browse files

Fix use of integer constants in boolean context warning

  • Loading branch information
nyalldawson committed Jul 12, 2017
1 parent 3c1bdf0 commit 8fc37bf5489da0a4dcc21a18395598cf1185b633
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/qgshistogramwidget.cpp
@@ -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 )

0 comments on commit 8fc37bf

Please sign in to comment.
You can’t perform that action at this time.