Commit d6cd0de3 authored by Tusooa Zhu's avatar Tusooa Zhu 🔼 Committed by Blackbeard (alberto flores)

Use KisDescendent instead of Descendent

parent 83c6168f
......@@ -72,7 +72,7 @@ public:
*/
KisDescendent(KisDescendent &&that) : m_d(std::move(that.m_d)) {}
KisDescendent & operator=(const KisDescendent &that) { Descendent t(that); *this = std::move(t); return *this; }
KisDescendent & operator=(const KisDescendent &that) { KisDescendent t(that); *this = std::move(t); return *this; }
KisDescendent & operator=(KisDescendent &&that) { m_d = std::move(that.m_d); return *this; }
/**
......
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