mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
RAII
This commit is contained in:
parent
8cdfaa395f
commit
1f1e17b16d
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user