Skip to content

Commit

Permalink
Fix layout checks
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jun 9, 2021
1 parent c6bd366 commit e262f14
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
Expand Up @@ -287,7 +287,7 @@ after any compilation optimizations have been applied.

Eg. a node like "CASE WHEN true THEN "some_field" WHEN other condition THEN ... END" can effectively
be replaced entirely by a :py:class:`QgsExpressionNodeColumnRef` referencing the "some_field" field, as the
CASE WHEN ... will ALWAYS evalute to "some_field".
CASE WHEN ... will ALWAYS evaluate to "some_field".

Returns a reference to the current object if no optimizations were applied.

Expand All @@ -299,6 +299,9 @@ Returns a reference to the current object if no optimizations were applied.
QgsExpressionNode();

QgsExpressionNode( const QgsExpressionNode &other );
%Docstring
Copy constructor
%End



Expand Down
6 changes: 4 additions & 2 deletions src/core/expression/qgsexpressionnode.h
Expand Up @@ -335,7 +335,7 @@ class CORE_EXPORT QgsExpressionNode SIP_ABSTRACT
*
* Eg. a node like "CASE WHEN true THEN "some_field" WHEN other condition THEN ... END" can effectively
* be replaced entirely by a QgsExpressionNodeColumnRef referencing the "some_field" field, as the
* CASE WHEN ... will ALWAYS evalute to "some_field".
* CASE WHEN ... will ALWAYS evaluate to "some_field".
*
* Returns a reference to the current object if no optimizations were applied.
*
Expand All @@ -347,7 +347,9 @@ class CORE_EXPORT QgsExpressionNode SIP_ABSTRACT

QgsExpressionNode() = default;

//! Copy constructor
QgsExpressionNode( const QgsExpressionNode &other );
//! Assignment operator
QgsExpressionNode &operator=( const QgsExpressionNode &other );

/**
Expand Down Expand Up @@ -383,7 +385,7 @@ class CORE_EXPORT QgsExpressionNode SIP_ABSTRACT
*
* Eg. a node like "CASE WHEN true THEN "some_field" WHEN other condition THEN ... END" can effectively
* be replaced entirely by a QgsExpressionNodeColumnRef referencing the "some_field" field, as the
* CASE WHEN ... will ALWAYS evalute to "some_field".
* CASE WHEN ... will ALWAYS evaluate to "some_field".
*
* \since QGIS 3.20
*/
Expand Down

0 comments on commit e262f14

Please sign in to comment.