Skip to content

Commit

Permalink
Fix equality
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Nov 25, 2020
1 parent 928c969 commit 81b21ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/qgsrange.h
Expand Up @@ -262,8 +262,8 @@ class CORE_EXPORT QgsDoubleRange : public QgsRange< double >

bool operator==( const QgsDoubleRange &other ) const
{
return qgsDoubleNear( mIncludeLower, other.mIncludeLower ) &&
qgsDoubleNear( mIncludeUpper, other.mIncludeUpper ) &&
return qgsDoubleNear( mLower, other.mLower ) &&
qgsDoubleNear( mUpper, other.mUpper ) &&
mIncludeLower == other.includeLower() &&
mIncludeUpper == other.includeUpper();
}
Expand Down

0 comments on commit 81b21ba

Please sign in to comment.