Skip to content
Permalink
Browse files
Check Geometries/Check for duplicates: avoid assertion in debug build…
…s due to thread-unsafe usage of layer() method (fixes #44246)
  • Loading branch information
rouault authored and nyalldawson committed Jul 21, 2021
1 parent 5bbae76 commit 3e1bbbac2cbe09aebb465673d31d82d3b1a20180
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/analysis/vector/geometry_checker/qgsgeometryduplicatecheck.cpp
@@ -26,7 +26,7 @@ QString QgsGeometryDuplicateCheckError::duplicatesString( const QMap<QString, Qg
QStringList str;
for ( auto it = duplicates.constBegin(); it != duplicates.constEnd(); ++it )
{
str.append( featurePools[it.key()]->layer()->name() + ":" );
str.append( featurePools[it.key()]->layerName() + ":" );
QStringList ids;
ids.reserve( it.value().length() );
for ( QgsFeatureId id : it.value() )

0 comments on commit 3e1bbba

Please sign in to comment.