temp branch with array fix while we wait for a master branch with Dales's recent changes

This commit is contained in:
Steve Baer
2018-09-27 14:43:18 -07:00
committed by sbaer
parent 5669c93c80
commit cb5458ed8b

View File

@@ -1117,13 +1117,14 @@ ON_ClassArray<T>& ON_ClassArray<T>::operator=( ON_ClassArray<T>&& 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<T>::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;
}