Skip to content

Commit

Permalink
Define tr function
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Aug 18, 2018
1 parent 8b85a18 commit 9c0e742
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/analysis/vector/geometry_checker/qgsgeometrycheck.h
Expand Up @@ -43,6 +43,8 @@ struct ANALYSIS_EXPORT QgsGeometryCheckerContext

class ANALYSIS_EXPORT QgsGeometryCheck
{
Q_DECLARE_TR_FUNCTIONS()

public:
enum ChangeWhat
{
Expand Down Expand Up @@ -90,7 +92,7 @@ class ANALYSIS_EXPORT QgsGeometryCheck
, mCompatibleGeometryTypes( compatibleGeometryTypes )
, mContext( context )
{}
virtual ~QgsGeometryCheck();
virtual ~QgsGeometryCheck() = default;
virtual void collectErrors( QList<QgsGeometryCheckError *> &errors, QStringList &messages, QAtomicInt *progressCounter = nullptr, const QMap<QString, QgsFeatureIds> &ids = QMap<QString, QgsFeatureIds>() ) const = 0;
virtual void fixError( QgsGeometryCheckError *error, int method, const QMap<QString, int> &mergeAttributeIndices, Changes &changes ) const = 0;
virtual QStringList resolutionMethods() const = 0;
Expand Down

0 comments on commit 9c0e742

Please sign in to comment.