Skip to content
Permalink
Browse files
std::as_const -> qgis::as_const
  • Loading branch information
elpaso authored and m-kuhn committed Dec 27, 2021
1 parent 51a06d3 commit 3d2288cca970ad8fa784ae3ba1bfb940a8b9828a
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/core/fieldformatter/qgsvaluerelationfieldformatter.cpp
@@ -332,7 +332,7 @@ QSet<QString> QgsValueRelationFieldFormatter::expressionParentFormAttributes( co
if ( formFunctions.contains( fd->name( ) ) )
{
const QList<QgsExpressionNode *> cExpressionNodes { f->args( )->list() };
for ( const auto &param : std::as_const( cExpressionNodes ) )
for ( const auto &param : qgis::as_const( cExpressionNodes ) )
{
attributes.insert( param->eval( &exp, &context ).toString() );
}
@@ -357,7 +357,7 @@ QSet<QString> QgsValueRelationFieldFormatter::expressionFormAttributes( const QS
if ( formFunctions.contains( fd->name( ) ) )
{
const QList<QgsExpressionNode *> cExpressionNodes { f->args( )->list() };
for ( const auto &param : std::as_const( cExpressionNodes ) )
for ( const auto &param : qgis::as_const( cExpressionNodes ) )
{
attributes.insert( param->eval( &exp, &context ).toString() );
}

0 comments on commit 3d2288c

Please sign in to comment.