mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-05 00:09:32 -04:00
refactor(core): remove empty overrided destructor
This commit is contained in:
parent
bd970ea77b
commit
a3b5232612
@ -311,7 +311,6 @@ Unary logical/arithmetical operator ( NOT, - ).
|
||||
%Docstring
|
||||
Constructor
|
||||
%End
|
||||
~NodeUnaryOperator();
|
||||
|
||||
|
||||
QgsSQLStatement::UnaryOperator op() const;
|
||||
@ -351,7 +350,6 @@ Binary logical/arithmetical operator (AND, OR, =, +, ...).
|
||||
%Docstring
|
||||
Constructor
|
||||
%End
|
||||
~NodeBinaryOperator();
|
||||
|
||||
|
||||
QgsSQLStatement::BinaryOperator op() const;
|
||||
@ -407,7 +405,6 @@ An 'x IN (y, z)' operator.
|
||||
%Docstring
|
||||
Constructor
|
||||
%End
|
||||
~NodeInOperator();
|
||||
|
||||
|
||||
QgsSQLStatement::Node *node() const;
|
||||
@ -453,7 +450,6 @@ An 'X BETWEEN y and z' operator.
|
||||
Constructor
|
||||
%End
|
||||
|
||||
|
||||
QgsSQLStatement::Node *node() const;
|
||||
%Docstring
|
||||
Variable at the left of BETWEEN
|
||||
@ -501,7 +497,6 @@ Function with a name and arguments node.
|
||||
%Docstring
|
||||
Constructor
|
||||
%End
|
||||
~NodeFunction();
|
||||
|
||||
|
||||
QString name() const;
|
||||
@ -632,7 +627,6 @@ Selected column.
|
||||
%Docstring
|
||||
Constructor
|
||||
%End
|
||||
~NodeSelectedColumn();
|
||||
|
||||
|
||||
void setAlias( const QString &alias );
|
||||
@ -681,7 +675,6 @@ CAST operator.
|
||||
%Docstring
|
||||
Constructor
|
||||
%End
|
||||
~NodeCast();
|
||||
|
||||
|
||||
QgsSQLStatement::Node *node() const;
|
||||
@ -783,7 +776,6 @@ Constructor with table definition, ON expression
|
||||
%Docstring
|
||||
Constructor with table definition and USING columns
|
||||
%End
|
||||
~NodeJoin();
|
||||
|
||||
|
||||
QgsSQLStatement::NodeTableDef *tableDef() const;
|
||||
@ -838,7 +830,6 @@ Column in a ORDER BY.
|
||||
%Docstring
|
||||
Constructor
|
||||
%End
|
||||
~NodeColumnSorted();
|
||||
|
||||
|
||||
QgsSQLStatement::NodeColumnRef *column() const;
|
||||
|
@ -311,7 +311,6 @@ Unary logical/arithmetical operator ( NOT, - ).
|
||||
%Docstring
|
||||
Constructor
|
||||
%End
|
||||
~NodeUnaryOperator();
|
||||
|
||||
|
||||
QgsSQLStatement::UnaryOperator op() const;
|
||||
@ -351,7 +350,6 @@ Binary logical/arithmetical operator (AND, OR, =, +, ...).
|
||||
%Docstring
|
||||
Constructor
|
||||
%End
|
||||
~NodeBinaryOperator();
|
||||
|
||||
|
||||
QgsSQLStatement::BinaryOperator op() const;
|
||||
@ -407,7 +405,6 @@ An 'x IN (y, z)' operator.
|
||||
%Docstring
|
||||
Constructor
|
||||
%End
|
||||
~NodeInOperator();
|
||||
|
||||
|
||||
QgsSQLStatement::Node *node() const;
|
||||
@ -453,7 +450,6 @@ An 'X BETWEEN y and z' operator.
|
||||
Constructor
|
||||
%End
|
||||
|
||||
|
||||
QgsSQLStatement::Node *node() const;
|
||||
%Docstring
|
||||
Variable at the left of BETWEEN
|
||||
@ -501,7 +497,6 @@ Function with a name and arguments node.
|
||||
%Docstring
|
||||
Constructor
|
||||
%End
|
||||
~NodeFunction();
|
||||
|
||||
|
||||
QString name() const;
|
||||
@ -632,7 +627,6 @@ Selected column.
|
||||
%Docstring
|
||||
Constructor
|
||||
%End
|
||||
~NodeSelectedColumn();
|
||||
|
||||
|
||||
void setAlias( const QString &alias );
|
||||
@ -681,7 +675,6 @@ CAST operator.
|
||||
%Docstring
|
||||
Constructor
|
||||
%End
|
||||
~NodeCast();
|
||||
|
||||
|
||||
QgsSQLStatement::Node *node() const;
|
||||
@ -783,7 +776,6 @@ Constructor with table definition, ON expression
|
||||
%Docstring
|
||||
Constructor with table definition and USING columns
|
||||
%End
|
||||
~NodeJoin();
|
||||
|
||||
|
||||
QgsSQLStatement::NodeTableDef *tableDef() const;
|
||||
@ -838,7 +830,6 @@ Column in a ORDER BY.
|
||||
%Docstring
|
||||
Constructor
|
||||
%End
|
||||
~NodeColumnSorted();
|
||||
|
||||
|
||||
QgsSQLStatement::NodeColumnRef *column() const;
|
||||
|
@ -594,7 +594,6 @@ QgsSQLStatement::NodeSelect::~NodeSelect()
|
||||
qDeleteAll( mTableList );
|
||||
qDeleteAll( mColumns );
|
||||
qDeleteAll( mJoins );
|
||||
|
||||
qDeleteAll( mOrderBy );
|
||||
}
|
||||
|
||||
|
@ -327,7 +327,6 @@ class CORE_EXPORT QgsSQLStatement
|
||||
public:
|
||||
//! Constructor
|
||||
NodeUnaryOperator( QgsSQLStatement::UnaryOperator op, QgsSQLStatement::Node *operand SIP_TRANSFER ) : mOp( op ), mOperand( operand ) {}
|
||||
~NodeUnaryOperator() override { }
|
||||
|
||||
NodeUnaryOperator( const NodeUnaryOperator &other ) = delete;
|
||||
NodeUnaryOperator &operator=( const NodeUnaryOperator &other ) = delete;
|
||||
@ -367,7 +366,6 @@ class CORE_EXPORT QgsSQLStatement
|
||||
, mOpLeft( opLeft )
|
||||
, mOpRight( opRight )
|
||||
{}
|
||||
~NodeBinaryOperator() override { }
|
||||
|
||||
NodeBinaryOperator( const NodeBinaryOperator &other ) = delete;
|
||||
NodeBinaryOperator &operator=( const NodeBinaryOperator &other ) = delete;
|
||||
@ -414,7 +412,6 @@ class CORE_EXPORT QgsSQLStatement
|
||||
public:
|
||||
//! Constructor
|
||||
NodeInOperator( QgsSQLStatement::Node *node SIP_TRANSFER, QgsSQLStatement::NodeList *list SIP_TRANSFER, bool notin = false ) : mNode( node ), mList( list ), mNotIn( notin ) {}
|
||||
~NodeInOperator() override { }
|
||||
|
||||
NodeInOperator( const NodeInOperator &other ) = delete;
|
||||
NodeInOperator &operator=( const NodeInOperator &other ) = delete;
|
||||
@ -455,7 +452,6 @@ class CORE_EXPORT QgsSQLStatement
|
||||
//! Constructor
|
||||
NodeBetweenOperator( QgsSQLStatement::Node *node SIP_TRANSFER, QgsSQLStatement::Node *minVal SIP_TRANSFER, QgsSQLStatement::Node *maxVal SIP_TRANSFER, bool notBetween = false )
|
||||
: mNode( node ), mMinVal( minVal ), mMaxVal( maxVal ), mNotBetween( notBetween ) {}
|
||||
~NodeBetweenOperator() override { }
|
||||
|
||||
NodeBetweenOperator( const NodeBetweenOperator &other ) = delete;
|
||||
NodeBetweenOperator &operator=( const NodeBetweenOperator &other ) = delete;
|
||||
@ -499,7 +495,6 @@ class CORE_EXPORT QgsSQLStatement
|
||||
public:
|
||||
//! Constructor
|
||||
NodeFunction( const QString &name, QgsSQLStatement::NodeList *args SIP_TRANSFER ) : mName( name ), mArgs( args ) {}
|
||||
~NodeFunction() override { }
|
||||
|
||||
NodeFunction( const NodeFunction &other ) = delete;
|
||||
NodeFunction &operator=( const NodeFunction &other ) = delete;
|
||||
@ -601,7 +596,6 @@ class CORE_EXPORT QgsSQLStatement
|
||||
public:
|
||||
//! Constructor
|
||||
NodeSelectedColumn( QgsSQLStatement::Node *node SIP_TRANSFER ) : mColumnNode( node ) {}
|
||||
~NodeSelectedColumn() override { }
|
||||
|
||||
NodeSelectedColumn( const NodeSelectedColumn &other ) = delete;
|
||||
NodeSelectedColumn &operator=( const NodeSelectedColumn &other ) = delete;
|
||||
@ -642,7 +636,6 @@ class CORE_EXPORT QgsSQLStatement
|
||||
public:
|
||||
//! Constructor
|
||||
NodeCast( QgsSQLStatement::Node *node SIP_TRANSFER, const QString &type ) : mNode( node ), mType( type ) {}
|
||||
~NodeCast() override { }
|
||||
|
||||
NodeCast( const NodeCast &other ) = delete;
|
||||
NodeCast &operator=( const NodeCast &other ) = delete;
|
||||
@ -726,7 +719,6 @@ class CORE_EXPORT QgsSQLStatement
|
||||
NodeJoin( QgsSQLStatement::NodeTableDef *tabledef SIP_TRANSFER, QgsSQLStatement::Node *onExpr SIP_TRANSFER, QgsSQLStatement::JoinType type ) : mTableDef( tabledef ), mOnExpr( onExpr ), mType( type ) {}
|
||||
//! Constructor with table definition and USING columns
|
||||
NodeJoin( QgsSQLStatement::NodeTableDef *tabledef SIP_TRANSFER, const QList<QString> &usingColumns, QgsSQLStatement::JoinType type ) : mTableDef( tabledef ), mUsingColumns( usingColumns ), mType( type ) {}
|
||||
~NodeJoin() override { }
|
||||
|
||||
NodeJoin( const NodeJoin &other ) = delete;
|
||||
NodeJoin &operator=( const NodeJoin &other ) = delete;
|
||||
@ -772,7 +764,6 @@ class CORE_EXPORT QgsSQLStatement
|
||||
public:
|
||||
//! Constructor
|
||||
NodeColumnSorted( QgsSQLStatement::NodeColumnRef *column SIP_TRANSFER, bool asc ) : mColumn( column ), mAsc( asc ) {}
|
||||
~NodeColumnSorted() override { }
|
||||
|
||||
NodeColumnSorted( const NodeColumnSorted &other ) = delete;
|
||||
NodeColumnSorted &operator=( const NodeColumnSorted &other ) = delete;
|
||||
|
Loading…
x
Reference in New Issue
Block a user