Commit 52082905 authored by Jochen Becher's avatar Jochen Becher
Browse files

ModelEditor: Make destructor of interface virtual



Change-Id: I2da5766345116717c1c48aa71054473ff4e23a25
Reviewed-by: default avatarTobias Hunger <tobias.hunger@theqtcompany.com>
parent 864a6be9
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment