Navigation Menu

Skip to content

Commit

Permalink
QgsGeometryCheck::LayerFeatureIds constructor: avoid false positive c…
Browse files Browse the repository at this point in the history
…ppcheck about self assignment
  • Loading branch information
rouault authored and nyalldawson committed Jun 15, 2020
1 parent c680caa commit e292cb7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/analysis/vector/geometry_checker/qgsgeometrycheck.h
Expand Up @@ -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;

Expand Down
Expand Up @@ -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.