Skip to content

Commit

Permalink
Make test class a friend of QgsWeakRelation
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Dec 19, 2019
1 parent 2851bbd commit a49e8d6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/core/qgsweakrelation.h
Expand Up @@ -27,7 +27,7 @@
* unresolved layers or unmatched fields.
*
* This class is used to store relation information attached to a
* layer style, a method to attempt to relation resolution is also
* layer style, a method to attempt relation resolution is also
* implemented and can be used to create a QgsRelation after the
* dependent layers are loaded and available.
*
Expand Down Expand Up @@ -78,7 +78,6 @@ class CORE_EXPORT QgsWeakRelation

/**
* Returns the list of field pairs
* @return
*/
QList<QgsRelation::FieldPair> fieldPairs() const;

Expand All @@ -91,6 +90,8 @@ class CORE_EXPORT QgsWeakRelation
QgsRelation::RelationStrength mStrength;
QList<QgsRelation::FieldPair> mFieldPairs;

friend class TestQgsWeakRelation;

};

#endif // QGSWEAKRELATION_H

0 comments on commit a49e8d6

Please sign in to comment.