Makes this chain equal to the supplied chain operand. Any pre-existing contents are disregarded.

Return TypeFunction nameArguments
hzChain&hzChain::operator=(hzChain&,)

Declared in file: hzChain.h
Defined in file : hzChain.cpp

Function Logic:

0:START 1:items 2:unknown 3:unknown 4:items 5:items 6:mx 7:Return *this

Function body:

hzChain& hzChain::operator= (hzChain& op)
{
   //  Makes this chain equal to the supplied chain operand. Any pre-existing contents are disregarded.
   //  
   //  Arguments: 1) op The supplied chain
   //  
   //  Returns: Reference to this chain
   _hzfunc("hzChain::operator=(hzChain)") ;
   Clear() ;
   if (op.mx)
   {
       if (_hzGlobal_MT)
           __sync_add_and_fetch(&(op.mx->m_copy), 1);
       else
           op.mx->m_copy++ ;
   }
    mx = op.mx ;
   return *this ;
}