Commit 38713473 authored by Tusooa Zhu's avatar Tusooa Zhu 🔼

Use KisDescendent instead of Descendent

parent 3080e9f6
......@@ -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