Skip to content
Permalink
Browse files

Make test class a friend of QgsWeakRelation

  • Loading branch information
elpaso committed Dec 7, 2019
1 parent 2851bbd commit a49e8d60c32a759327907ceef731cb721d8d3d85
Showing with 3 additions and 2 deletions.
  1. +3 −2 src/core/qgsweakrelation.h
@@ -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.
*
@@ -78,7 +78,6 @@ class CORE_EXPORT QgsWeakRelation

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

@@ -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.
You can’t perform that action at this time.