Skip to content
Permalink
Browse files
Update src/analysis/vector/qgsgeometrysnapper.cpp
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
  • Loading branch information
2 people authored and github-actions committed Apr 27, 2021
1 parent f64d8e6 commit c3baec5b0494eedc970c2f07c012f2891cd7bd07
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/analysis/vector/qgsgeometrysnapper.cpp
@@ -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;
}

0 comments on commit c3baec5

Please sign in to comment.