Skip to content

Commit

Permalink
Remove unused QgsExpressionContextScope::variableNameSort() private f…
Browse files Browse the repository at this point in the history
…unction
  • Loading branch information
rouault authored and nyalldawson committed Jun 15, 2020
1 parent 037409f commit 3d5941d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
5 changes: 0 additions & 5 deletions src/core/qgsexpressioncontext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,6 @@ QStringList QgsExpressionContextScope::variableNames() const
return names;
}

bool QgsExpressionContextScope::variableNameSort( const QString &a, const QString &b )
{
return QString::localeAwareCompare( a, b ) < 0;
}

/// @cond PRIVATE
class QgsExpressionContextVariableCompare
{
Expand Down
2 changes: 0 additions & 2 deletions src/core/qgsexpressioncontext.h
Original file line number Diff line number Diff line change
Expand Up @@ -351,8 +351,6 @@ class CORE_EXPORT QgsExpressionContextScope
QHash<QString, QgsScopedExpressionFunction * > mFunctions;
bool mHasFeature = false;
QgsFeature mFeature;

bool variableNameSort( const QString &a, const QString &b );
};

/**
Expand Down

0 comments on commit 3d5941d

Please sign in to comment.