Skip to content

Commit

Permalink
Replace deprecated call
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Sep 28, 2018
1 parent 9698444 commit 8ae35de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/grass/qgis.v.in.cpp
Expand Up @@ -396,7 +396,7 @@ int main( int argc, char **argv )
feature.setGeometry( QgsGeometry::fromPointXY( point ) );
feature.setValid( true );
centroids.insert( area, feature );
spatialIndex.insertFeature( feature );
spatialIndex.addFeature( feature );
}

G_message( "Attaching input polygons to cleaned areas" );
Expand Down

0 comments on commit 8ae35de

Please sign in to comment.