Skip to content

Commit c929d2a

Browse files
committed
Fix warnings
1 parent 7ee1cbf commit c929d2a

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

python/core/qgsexpression.sip

+2-2
Original file line numberDiff line numberDiff line change
@@ -1005,7 +1005,7 @@ Creates a deep copy of this list. Ownership is transferred to the caller
10051005

10061006
NodeUnaryOperator( QgsExpression::UnaryOperator op, QgsExpression::Node *operand /Transfer/ );
10071007
%Docstring
1008-
A node unary operator is modifying the value of ``operand`` by negating it with \op.
1008+
A node unary operator is modifying the value of ``operand`` by negating it with ``op``.
10091009
%End
10101010
~NodeUnaryOperator();
10111011

@@ -1091,7 +1091,7 @@ Creates a deep copy of this list. Ownership is transferred to the caller
10911091

10921092
NodeInOperator( QgsExpression::Node *node /Transfer/, QgsExpression::NodeList *list /Transfer/, bool notin = false );
10931093
%Docstring
1094-
This node tests if the result of \node is in the result of ``list``. Optionally it can be inverted with ``notin`` which by default is false.
1094+
This node tests if the result of ``node`` is in the result of ``list``. Optionally it can be inverted with ``notin`` which by default is false.
10951095
%End
10961096
virtual ~NodeInOperator();
10971097

src/core/qgsexpression.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -6310,7 +6310,7 @@ bool QgsExpression::Function::operator==( const QgsExpression::Function &other )
63106310
return ( QString::compare( mName, other.mName, Qt::CaseInsensitive ) == 0 );
63116311
}
63126312

6313-
QgsExpression::StaticFunction::StaticFunction( const QString &fnname, const QgsExpression::ParameterList &params, QgsExpression::FcnEval fcn, const QString &group, const QString &helpText, std::function < bool ( const NodeFunction *node ) > usesGeometry, std::function < QSet<QString>( const NodeFunction *node ) > referencedColumns, bool lazyEval, const QStringList &aliases, bool handlesNull )
6313+
QgsExpression::StaticFunction::StaticFunction( const QString &fnname, const QgsExpression::ParameterList &params, QgsExpression::FcnEval fcn, const QString &group, const QString &helpText, std::function < bool ( const QgsExpression::NodeFunction *node ) > usesGeometry, std::function < QSet<QString>( const QgsExpression::NodeFunction *node ) > referencedColumns, bool lazyEval, const QStringList &aliases, bool handlesNull )
63146314
: Function( fnname, params, group, helpText, lazyEval, handlesNull )
63156315
, mFnc( fcn )
63166316
, mAliases( aliases )

src/core/qgsexpression.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -1063,7 +1063,7 @@ class CORE_EXPORT QgsExpression
10631063
public:
10641064

10651065
/**
1066-
* A node unary operator is modifying the value of \a operand by negating it with \op.
1066+
* A node unary operator is modifying the value of \a operand by negating it with \a op.
10671067
*/
10681068
NodeUnaryOperator( QgsExpression::UnaryOperator op, QgsExpression::Node *operand SIP_TRANSFER )
10691069
: mOp( op )
@@ -1148,7 +1148,7 @@ class CORE_EXPORT QgsExpression
11481148
public:
11491149

11501150
/**
1151-
* This node tests if the result of \node is in the result of \a list. Optionally it can be inverted with \a notin which by default is false.
1151+
* This node tests if the result of \a node is in the result of \a list. Optionally it can be inverted with \a notin which by default is false.
11521152
*/
11531153
NodeInOperator( QgsExpression::Node *node SIP_TRANSFER, QgsExpression::NodeList *list SIP_TRANSFER, bool notin = false )
11541154
: mNode( node )

0 commit comments

Comments
 (0)