Skip to content
Permalink
Browse files

Improve code readability and silence warning

  • Loading branch information
m-kuhn committed Jul 5, 2016
1 parent fd88d91 commit 72f3f3c1dcfd6a3e3d008696293138061cea1cec
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/providers/arcgisrest/qgsafsprovider.cpp
@@ -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 )

0 comments on commit 72f3f3c

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