Skip to content

Commit 94077b2

Browse files
committed
fix deprecation warning
1 parent c34b36f commit 94077b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/providers/arcgisrest/qgsafsprovider.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ bool QgsAfsProvider::getFeature( const QgsFeatureId &id, QgsFeature &f, bool fet
220220
if ( !fetchAttribIdx.isEmpty() )
221221
{
222222
QVariantMap attributesData = featureData["attributes"].toMap();
223-
feature.setFields( &mFields );
223+
feature.setFields( mFields );
224224
QgsAttributes attributes( mFields.size() );
225225
foreach ( int idx, fetchAttribIdx )
226226
{

0 commit comments

Comments
 (0)