mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Improve code readability and silence warning
This commit is contained in:
parent
fd88d91bde
commit
72f3f3c1dc
@ -245,7 +245,7 @@ bool QgsAfsProvider::getFeature( const QgsFeatureId &id, QgsFeature &f, bool fet
|
||||
}
|
||||
f = mCache[id];
|
||||
Q_ASSERT( f.isValid() );
|
||||
return filterRect.isNull() || f.geometry() && f.geometry()->intersects( filterRect );
|
||||
return filterRect.isNull() || ( f.geometry() && f.geometry()->intersects( filterRect ) );
|
||||
}
|
||||
|
||||
void QgsAfsProvider::setDataSourceUri( const QString &uri )
|
||||
|
Loading…
x
Reference in New Issue
Block a user