--- a/src/linetypes/conditionaledge.h Sun Mar 05 13:33:37 2017 +0200 +++ b/src/linetypes/conditionaledge.h Sun Mar 05 16:47:52 2017 +0200 @@ -40,7 +40,7 @@ QString typeName() const override { return "condline"; } protected: - friend class Model; + friend class ResourceVector<LDObject>; LDConditionalEdge (Model* model); LDConditionalEdge (const Vertex& v0, const Vertex& v1, const Vertex& v2, const Vertex& v3, Model* model = nullptr); };