From cb5458ed8bbe91fb89a410f649bfe1fc5cf29fb8 Mon Sep 17 00:00:00 2001 From: Steve Baer Date: Thu, 27 Sep 2018 14:43:18 -0700 Subject: [PATCH] temp branch with array fix while we wait for a master branch with Dales's recent changes --- opennurbs_array_defs.h | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/opennurbs_array_defs.h b/opennurbs_array_defs.h index e65aa6e7..3b9a5d33 100644 --- a/opennurbs_array_defs.h +++ b/opennurbs_array_defs.h @@ -1117,13 +1117,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; }