Skip to content

Commit 9c0e742

Browse files
committed
Define tr function
1 parent 8b85a18 commit 9c0e742

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/analysis/vector/geometry_checker/qgsgeometrycheck.h

+3-1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ struct ANALYSIS_EXPORT QgsGeometryCheckerContext
4343

4444
class ANALYSIS_EXPORT QgsGeometryCheck
4545
{
46+
Q_DECLARE_TR_FUNCTIONS()
47+
4648
public:
4749
enum ChangeWhat
4850
{
@@ -90,7 +92,7 @@ class ANALYSIS_EXPORT QgsGeometryCheck
9092
, mCompatibleGeometryTypes( compatibleGeometryTypes )
9193
, mContext( context )
9294
{}
93-
virtual ~QgsGeometryCheck();
95+
virtual ~QgsGeometryCheck() = default;
9496
virtual void collectErrors( QList<QgsGeometryCheckError *> &errors, QStringList &messages, QAtomicInt *progressCounter = nullptr, const QMap<QString, QgsFeatureIds> &ids = QMap<QString, QgsFeatureIds>() ) const = 0;
9597
virtual void fixError( QgsGeometryCheckError *error, int method, const QMap<QString, int> &mergeAttributeIndices, Changes &changes ) const = 0;
9698
virtual QStringList resolutionMethods() const = 0;

0 commit comments

Comments
 (0)