Skip to content

Commit

Permalink
Fix unused capture warning
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Dec 15, 2022
1 parent 769c68b commit 711a112
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/expression/qgsexpressionutils.cpp
Expand Up @@ -239,7 +239,7 @@ void QgsExpressionUtils::executeLambdaForMapLayer( const QVariant &value, const
}

// last resort - QgsProject instance. This is bad, we need to remove this!
auto getMapLayerFromProjectInstance = [ value, &ml, identifier, &function, &foundLayer ]
auto getMapLayerFromProjectInstance = [ value, identifier, &function, &foundLayer ]
{
QgsProject *project = QgsProject::instance();

Expand Down

0 comments on commit 711a112

Please sign in to comment.