Skip to content

Commit

Permalink
Fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Jul 24, 2015
1 parent 09c2444 commit c93fdf9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/core/qgsrelation.cpp
Expand Up @@ -216,9 +216,9 @@ QgsFeatureRequest QgsRelation::getReferencedFeatureRequest( const QgsFeature& fe
return getReferencedFeatureRequest( feature.attributes() );
}

QgsFeature QgsRelation::getReferencedFeature( const QgsFeature& child ) const
QgsFeature QgsRelation::getReferencedFeature( const QgsFeature& feature ) const
{
QgsFeatureRequest request = getReferencedFeatureRequest( child );
QgsFeatureRequest request = getReferencedFeatureRequest( feature );

QgsFeature f;
mReferencedLayer->getFeatures( request ).nextFeature( f );
Expand Down
2 changes: 1 addition & 1 deletion src/core/qgsrelation.h
Expand Up @@ -170,7 +170,7 @@ class CORE_EXPORT QgsRelation
*
* @return A request the referenced feature
*/
QgsFeature getReferencedFeature( const QgsFeature& child ) const;
QgsFeature getReferencedFeature( const QgsFeature& feature ) const;

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

0 comments on commit c93fdf9

Please sign in to comment.