Skip to content
Permalink
Browse files

Fix clazy warnings

(cherry picked from commit cf43c60)
  • Loading branch information
nyalldawson committed Feb 16, 2021
1 parent c708ca5 commit f6a46131f4ed3a6f71b09f41e129850dfd444d7d
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgsrelation.cpp
@@ -301,7 +301,7 @@ QList<QgsRelation::FieldPair> QgsRelation::fieldPairs() const
QgsAttributeList QgsRelation::referencedFields() const
{
QgsAttributeList attrs;

attrs.reserve( d->mFieldPairs.size() );
for ( const FieldPair &pair : qgis::as_const( d->mFieldPairs ) )
{
attrs << d->mReferencedLayer->fields().lookupField( pair.second );

0 comments on commit f6a4613

Please sign in to comment.