Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix use of deleted function for QgsGeometryCheckErrorSingle
  • Loading branch information
pblottiere authored and nyalldawson committed Jun 11, 2020
1 parent cc19c5f commit 385f639
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 0 deletions.
Expand Up @@ -199,6 +199,8 @@ its ``value`` Type for additional information.
%End


private:
const QgsGeometryCheckError &operator=( const QgsGeometryCheckError & );
};


Expand Down
Expand Up @@ -109,6 +109,8 @@ The underlying single error.
%End


private:
const QgsGeometryCheckErrorSingle &operator=( const QgsGeometryCheckErrorSingle & );
};

class QgsSingleGeometryCheck : QgsGeometryCheck
Expand Down
5 changes: 5 additions & 0 deletions src/analysis/vector/geometry_checker/qgsgeometrycheckerror.h
Expand Up @@ -234,6 +234,11 @@ class ANALYSIS_EXPORT QgsGeometryCheckError
Status mStatus;
QString mResolutionMessage;

private:

#ifdef SIP_RUN
const QgsGeometryCheckError &operator=( const QgsGeometryCheckError & );
#endif
};

Q_DECLARE_METATYPE( QgsGeometryCheckError * )
Expand Down
4 changes: 4 additions & 0 deletions src/analysis/vector/geometry_checker/qgssinglegeometrycheck.h
Expand Up @@ -129,6 +129,10 @@ class ANALYSIS_EXPORT QgsGeometryCheckErrorSingle : public QgsGeometryCheckError
bool handleChanges( const QgsGeometryCheck::Changes &changes ) override SIP_SKIP;

private:
#ifdef SIP_RUN
const QgsGeometryCheckErrorSingle &operator=( const QgsGeometryCheckErrorSingle & );
#endif

QgsSingleGeometryCheckError *mError = nullptr;
};

Expand Down

0 comments on commit 385f639

Please sign in to comment.