Skip to content
Permalink
Browse files

Fix detaching of temporary container

Thanks to Clazy
  • Loading branch information
nyalldawson committed Aug 29, 2017
1 parent a4357e3 commit 5197b5fdabb81b9461b213a9d5f6776d96e9eb30
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/expression/qgsexpressionnodeimpl.cpp
@@ -949,7 +949,7 @@ QSet<QString> QgsExpressionNodeFunction::referencedVariables() const
{
if ( !mArgs->list().isEmpty() )
{
QgsExpressionNodeLiteral *var = dynamic_cast<QgsExpressionNodeLiteral *>( mArgs->list().first() );
QgsExpressionNodeLiteral *var = dynamic_cast<QgsExpressionNodeLiteral *>( mArgs->list().at( 0 ) );
if ( var )
return QSet<QString>() << var->value().toString();
}

0 comments on commit 5197b5f

Please sign in to comment.
You can’t perform that action at this time.