diff --git a/ZCppMain/ZMainHead.H b/ZCppMain/ZMainHead.H index 6487d28..7e2d019 100644 --- a/ZCppMain/ZMainHead.H +++ b/ZCppMain/ZMainHead.H @@ -3014,18 +3014,10 @@ namespace ZNsMain { return *this; } /*++++++++++++++++++++++++++++++++++++++++++++++++++*/ - #if(0) - mp_StTypeRefCnt->MO_TypeData = - rhs.mp_StTypeRefCnt->MO_TypeData; return *this; - #else - if(--mp_StTypeRefCnt->MI_RefCount <= 0) - this->ZCAllocator::DeleteMem(mp_StTypeRefCnt); + mp_StTypeRefCnt->MO_TypeData = + rhs.mp_StTypeRefCnt->MO_TypeData ; - mp_StTypeRefCnt = rhs.mp_StTypeRefCnt ; - ++mp_StTypeRefCnt->MI_RefCount ; - - return *this; ///////////////////////// - #endif + return *this; //////////////////// }/* ZtCObjNew& operator=(const ZtCObjNew& rhs)*/