Skip to content

Commit

Permalink
Remove virtual method from class which shouldn't be subclassed
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Apr 24, 2017
1 parent c86264e commit 858129d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions python/core/qgsproperty.sip
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand Down
2 changes: 0 additions & 2 deletions src/core/qgsproperty.h
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,6 @@ class CORE_EXPORT QgsProperty
*/
QgsProperty();

virtual ~QgsProperty() = default;

/**
* Returns a new ExpressionBasedProperty created from the specified expression.
*/
Expand Down

0 comments on commit 858129d

Please sign in to comment.