ModelEditor: Make destructor of interface virtual

Change-Id: I2da5766345116717c1c48aa71054473ff4e23a25
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
Jochen Becher
2015-11-23 22:05:52 +01:00
parent 864a6be91a
commit 520829059a

View File

@@ -44,7 +44,7 @@ class PathShape;
class ShapeVisitor
{
public:
~ShapeVisitor() { }
virtual ~ShapeVisitor() { }
virtual void visitLine(LineShape *shapeLine) = 0;
virtual void visitRect(RectShape *shapeRect) = 0;
@@ -58,7 +58,7 @@ public:
class ShapeConstVisitor
{
public:
~ShapeConstVisitor() { }
virtual ~ShapeConstVisitor() { }
virtual void visitLine(const LineShape *shapeLine) = 0;
virtual void visitRect(const RectShape *shapeRect) = 0;