diff --git a/opennurbs_array_defs.h b/opennurbs_array_defs.h index 320b0891..d4064479 100644 --- a/opennurbs_array_defs.h +++ b/opennurbs_array_defs.h @@ -1154,13 +1154,14 @@ ON_ClassArray& ON_ClassArray::operator=( ON_ClassArray&& src ) ON_NOEXC { if( this != &src ) { - this->Destroy(); - m_a = src.m_a; - m_count = src.m_count; - m_capacity = src.m_capacity; - src.m_a = 0; - src.m_count = 0; - src.m_capacity = 0; + ON_ClassArray::operator=(std::move(src)); + //this->Destroy(); + //m_a = src.m_a; + //m_count = src.m_count; + //m_capacity = src.m_capacity; + //src.m_a = 0; + //src.m_count = 0; + //src.m_capacity = 0; } return *this; }