Skip to content
Permalink
Browse files

Update src/analysis/vector/qgsgeometrysnapper.cpp

Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
  • Loading branch information
nirvn and nyalldawson committed Apr 19, 2021
1 parent 9d274d5 commit 9f933ced7b611e841356bda6ec5e5be0bd2d9c7b
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 9f933ce

Please sign in to comment.