Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix clazy warning
  • Loading branch information
nyalldawson committed May 2, 2023
1 parent 4e2c0fd commit 35f60e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/qgstest.h
Expand Up @@ -83,12 +83,12 @@
}(void)(0)

#define QGSVERIFYLESSTHAN(value,expected) { \
bool _xxxresult = value < expected; \
bool _xxxresult = ( value ) < ( expected ); \
if ( !_xxxresult ) \
{ \
qDebug( "Expecting < %.10f got %.10f", static_cast< double >( expected ), static_cast< double >( value ) ); \
} \
QVERIFY( value < expected ); \
QVERIFY( ( value ) < ( expected ) ); \
}(void)(0)

#define QGSCOMPARENEARPOINT(point1,point2,epsilon) { \
Expand Down

0 comments on commit 35f60e2

Please sign in to comment.