Skip to content
Permalink
Browse files

QgsGeometryCheck::LayerFeatureIds constructor: avoid false positive c…

…ppcheck about self assignment
  • Loading branch information
rouault authored and nyalldawson committed Jun 13, 2020
1 parent c680caa commit e292cb7371a5acb0ec6d92a0e799029cf3951cee
@@ -140,7 +140,7 @@ class ANALYSIS_EXPORT QgsGeometryCheck
struct ANALYSIS_EXPORT LayerFeatureIds
{
LayerFeatureIds() = default;
LayerFeatureIds( const QMap<QString, QgsFeatureIds> &ids ) SIP_SKIP;
LayerFeatureIds( const QMap<QString, QgsFeatureIds> &idsIn ) SIP_SKIP;

QMap<QString, QgsFeatureIds> ids SIP_SKIP;

@@ -215,7 +215,7 @@ void QgsGeometryCheckError::update( const QgsGeometryCheckError *other )
mGeometry = other->mGeometry;
}

QgsGeometryCheck::LayerFeatureIds::LayerFeatureIds( const QMap<QString, QgsFeatureIds> &ids )
: ids( ids )
QgsGeometryCheck::LayerFeatureIds::LayerFeatureIds( const QMap<QString, QgsFeatureIds> &idsIn )
: ids( idsIn )
{
}

0 comments on commit e292cb7

Please sign in to comment.
You can’t perform that action at this time.