From 858129ddd3072d633e0abd97e1a45fe880f4cfb2 Mon Sep 17 00:00:00 2001 From: Nyall Dawson Date: Mon, 24 Apr 2017 11:02:03 +1000 Subject: [PATCH] Remove virtual method from class which shouldn't be subclassed --- python/core/qgsproperty.sip | 2 -- src/core/qgsproperty.h | 2 -- 2 files changed, 4 deletions(-) diff --git a/python/core/qgsproperty.sip b/python/core/qgsproperty.sip index 84ce89be333..a90e5cafee9 100644 --- a/python/core/qgsproperty.sip +++ b/python/core/qgsproperty.sip @@ -80,8 +80,6 @@ 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 c357a8139f1..755bdca4dfd 100644 --- a/src/core/qgsproperty.h +++ b/src/core/qgsproperty.h @@ -201,8 +201,6 @@ class CORE_EXPORT QgsProperty */ QgsProperty(); - virtual ~QgsProperty() = default; - /** * Returns a new ExpressionBasedProperty created from the specified expression. */