Skip to content
Permalink
Browse files
Fix warnings
  • Loading branch information
m-kuhn committed May 1, 2017
1 parent 7ee1cbf commit c929d2abd85c6d8444a97093ed4c756891219433
Showing with 5 additions and 5 deletions.
  1. +2 −2 python/core/qgsexpression.sip
  2. +1 −1 src/core/qgsexpression.cpp
  3. +2 −2 src/core/qgsexpression.h
@@ -1005,7 +1005,7 @@ Creates a deep copy of this list. Ownership is transferred to the caller

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

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

NodeInOperator( QgsExpression::Node *node /Transfer/, QgsExpression::NodeList *list /Transfer/, bool notin = false );
%Docstring
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.
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.
%End
virtual ~NodeInOperator();

@@ -6310,7 +6310,7 @@ bool QgsExpression::Function::operator==( const QgsExpression::Function &other )
return ( QString::compare( mName, other.mName, Qt::CaseInsensitive ) == 0 );
}

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 )
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 )
: Function( fnname, params, group, helpText, lazyEval, handlesNull )
, mFnc( fcn )
, mAliases( aliases )
@@ -1063,7 +1063,7 @@ class CORE_EXPORT QgsExpression
public:

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

/**
* 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.
* 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.
*/
NodeInOperator( QgsExpression::Node *node SIP_TRANSFER, QgsExpression::NodeList *list SIP_TRANSFER, bool notin = false )
: mNode( node )

0 comments on commit c929d2a

Please sign in to comment.