Navigation Menu

Skip to content

Commit

Permalink
Update src/analysis/vector/qgsgeometrysnapper.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
  • Loading branch information
2 people authored and github-actions[bot] committed Apr 27, 2021
1 parent 36d555d commit 2e6df86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/analysis/vector/qgsgeometrysnapper.cpp
Expand Up @@ -220,7 +220,7 @@ void QgsSnapIndex::addPoint( const CoordIdx *idx, bool isEndPoint )
PointSnapItem *item = new PointSnapItem( idx, isEndPoint );
GEOSSTRtree_insert_r( geosctxt, mSTRTree, point.get(), item );
#if GEOS_VERSION_MAJOR>3 || GEOS_VERSION_MINOR<9
mSTRTreeItems.push_back( std::move( point ) );
mSTRTreeItems.emplace_back( std::move( point ) );
#endif
mSnapItems << item;
}
Expand Down

0 comments on commit 2e6df86

Please sign in to comment.