forked from qt-creator/qt-creator
ModelEditor: Make destructor of interface virtual
Change-Id: I2da5766345116717c1c48aa71054473ff4e23a25 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user