--- a/src/linetypes/triangle.h Sat Mar 03 17:28:27 2018 +0200 +++ b/src/linetypes/triangle.h Sat Mar 03 17:47:40 2018 +0200 @@ -33,7 +33,7 @@ } virtual QString asText() const override; - int triangleCount() const override; + int triangleCount(DocumentManager*) const override; int numVertices() const override { return 3; } QString typeName() const override { return "triangle"; }