Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update python/core/auto_generated/expression/qgsexpression.sip.in
Co-Authored-By: Matthias Kuhn <matthias@opengis.ch>

and

set parameter to const
  • Loading branch information
signedav committed Dec 3, 2019
1 parent 314e233 commit 20ac7e3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion python/core/auto_generated/expression/qgsexpression.sip.in
Expand Up @@ -537,7 +537,7 @@ Returns the help text for a specified function.
.. seealso:: :py:func:`formatVariableHelp`
%End

static QStringList tags( QString name );
static QStringList tags( const QString &name );
%Docstring
Returns a string list of search tags for a specified function.

Expand Down
2 changes: 1 addition & 1 deletion src/core/expression/qgsexpression.cpp
Expand Up @@ -652,7 +652,7 @@ QString QgsExpression::helpText( QString name )
return helpContents;
}

QStringList QgsExpression::tags( QString name )
QStringList QgsExpression::tags( const QString &name )
{
QStringList tags = QStringList();

Expand Down
2 changes: 1 addition & 1 deletion src/core/expression/qgsexpression.h
Expand Up @@ -572,7 +572,7 @@ class CORE_EXPORT QgsExpression
* \param name function name
* \since QGIS 3.12
*/
static QStringList tags( QString name );
static QStringList tags( const QString &name );

/**
* Returns the help text for a specified variable.
Expand Down

0 comments on commit 20ac7e3

Please sign in to comment.