Skip to content
Permalink
Browse files

RAII

  • Loading branch information
m-kuhn committed Apr 5, 2019
1 parent 8cdfaa3 commit 1f1e17b16d9235f55030b1860fc941778128a2af
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/core/qgsvectorlayerfeatureiterator.cpp
@@ -648,7 +648,6 @@ void QgsVectorLayerFeatureIterator::prepareExpression( int fieldIdx )
return;
}
}
mExpressionFieldInfo.insert( fieldIdx, exp.release() );

for ( const QString &col : referencedColumns )
{
@@ -666,6 +665,8 @@ void QgsVectorLayerFeatureIterator::prepareExpression( int fieldIdx )
{
mRequest.setFlags( mRequest.flags() & ~QgsFeatureRequest::NoGeometry );
}

mExpressionFieldInfo.insert( fieldIdx, exp.release() );
}

void QgsVectorLayerFeatureIterator::prepareFields()

0 comments on commit 1f1e17b

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