Commit bbd5667e authored by Blackbeard (alberto flores)'s avatar Blackbeard (alberto flores) 🚢

Add destructor for Private object

parent e7921558
...@@ -90,12 +90,12 @@ KisVectorAnimatedBrush::KisVectorAnimatedBrush(const KisVectorAnimatedBrush& rhs ...@@ -90,12 +90,12 @@ KisVectorAnimatedBrush::KisVectorAnimatedBrush(const KisVectorAnimatedBrush& rhs
{ {
} }
/*
KisVectorAnimatedBrush::~KisVectorAnimatedBrush() KisVectorAnimatedBrush::~KisVectorAnimatedBrush()
{ {
delete m_parasite; delete m_d;
} }
*/
KisBrush* KisVectorAnimatedBrush::clone() const KisBrush* KisVectorAnimatedBrush::clone() const
{ {
return new KisVectorAnimatedBrush(*this); return new KisVectorAnimatedBrush(*this);
......
...@@ -40,7 +40,8 @@ public: ...@@ -40,7 +40,8 @@ public:
KisVectorAnimatedBrush(const QString& filename); KisVectorAnimatedBrush(const QString& filename);
KisVectorAnimatedBrush(const KisVectorAnimatedBrush& rhs); KisVectorAnimatedBrush(const KisVectorAnimatedBrush& rhs);
// ~KisVectorAnimatedBrush() override; ~KisVectorAnimatedBrush() override;
KisBrush* clone() const override; KisBrush* clone() const override;
bool load() override; bool load() override;
......
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