Skip to content

Commit

Permalink
Improve code readability and silence warning
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Jul 5, 2016
1 parent fd88d91 commit 72f3f3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/arcgisrest/qgsafsprovider.cpp
Expand Up @@ -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 )
Expand Down

0 comments on commit 72f3f3c

Please sign in to comment.