mirror of
https://github.com/mcneel/opennurbs.git
synced 2026-04-21 05:36:39 +08:00
temp branch with array fix while we wait for a master branch with Dales's recent changes
This commit is contained in:
@@ -1117,13 +1117,14 @@ ON_ClassArray<T>& ON_ClassArray<T>::operator=( ON_ClassArray<T>&& src ) ON_NOEXC
|
|||||||
{
|
{
|
||||||
if( this != &src )
|
if( this != &src )
|
||||||
{
|
{
|
||||||
this->Destroy();
|
ON_ClassArray<T>::operator=(std::move(src));
|
||||||
m_a = src.m_a;
|
//this->Destroy();
|
||||||
m_count = src.m_count;
|
//m_a = src.m_a;
|
||||||
m_capacity = src.m_capacity;
|
//m_count = src.m_count;
|
||||||
src.m_a = 0;
|
//m_capacity = src.m_capacity;
|
||||||
src.m_count = 0;
|
//src.m_a = 0;
|
||||||
src.m_capacity = 0;
|
//src.m_count = 0;
|
||||||
|
//src.m_capacity = 0;
|
||||||
}
|
}
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user