diff --git a/python/core/qgsproperty.sip b/python/core/qgsproperty.sip index c6104405fe0..c559425fe70 100644 --- a/python/core/qgsproperty.sip +++ b/python/core/qgsproperty.sip @@ -76,6 +76,8 @@ class QgsProperty }; QgsProperty(); + virtual ~QgsProperty(); + static QgsProperty fromExpression( const QString& expression, bool isActive = true ); static QgsProperty fromField( const QString& fieldName, bool isActive = true ); static QgsProperty fromValue( const QVariant& value, bool isActive = true ); diff --git a/src/core/qgsproperty.h b/src/core/qgsproperty.h index b10de4919bc..7f3f911371e 100644 --- a/src/core/qgsproperty.h +++ b/src/core/qgsproperty.h @@ -191,6 +191,8 @@ class CORE_EXPORT QgsProperty */ QgsProperty(); + virtual ~QgsProperty() = default; + /** * Returns a new ExpressionBasedProperty created from the specified expression. */