Skip to content

Commit c93fdf9

Browse files
committed
Fix warnings
1 parent 09c2444 commit c93fdf9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/core/qgsrelation.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,9 +216,9 @@ QgsFeatureRequest QgsRelation::getReferencedFeatureRequest( const QgsFeature& fe
216216
return getReferencedFeatureRequest( feature.attributes() );
217217
}
218218

219-
QgsFeature QgsRelation::getReferencedFeature( const QgsFeature& child ) const
219+
QgsFeature QgsRelation::getReferencedFeature( const QgsFeature& feature ) const
220220
{
221-
QgsFeatureRequest request = getReferencedFeatureRequest( child );
221+
QgsFeatureRequest request = getReferencedFeatureRequest( feature );
222222

223223
QgsFeature f;
224224
mReferencedLayer->getFeatures( request ).nextFeature( f );

src/core/qgsrelation.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ class CORE_EXPORT QgsRelation
170170
*
171171
* @return A request the referenced feature
172172
*/
173-
QgsFeature getReferencedFeature( const QgsFeature& child ) const;
173+
QgsFeature getReferencedFeature( const QgsFeature& feature ) const;
174174

175175
/**
176176
* Returns a human readable name for this relation. Mostly used as title for the children.

0 commit comments

Comments
 (0)