diff --git a/ZCppMain/ZCProcess_Linux.H b/ZCppMain/ZCProcess_Linux.H index dc403fe..d232dcf 100644 --- a/ZCppMain/ZCProcess_Linux.H +++ b/ZCppMain/ZCProcess_Linux.H @@ -3464,22 +3464,32 @@ namespace ZNsMain { _DEBUG_REENTRANT_CHECK_ - mh_ThreadID =rhs.mh_ThreadID ; - (TTypeBase&)(*this)=static_cast(rhs); - } + mh_ThreadID = 0 ; + }/* + ZtCThread(const ZtCThread& rhs):TTypeBase(rhs)*/ + template - ZtCThread(const TTypeArg& AR_TTypeArg):TTypeBase(AR_TTypeArg) + ZtCThread(const TTypeArg& AR_TTypeArg) : TTypeBase(AR_TTypeArg) { _DEBUG_REENTRANT_CHECK_ mh_ThreadID = 0 ; - } + }/* + template + ZtCThread(const TTypeArg& AR_TTypeArg) : TTypeBase(AR_TTypeArg) + */ ZtCThread& operator=(const ZtCThread& rhs) { - return *this; + *(TTypeBase*)(this) = rhs; return *this; }/* ZtCThread& operator=(const ZtCThread& rhs)*/ + ZtCThread& operator=(const TTypeBase& AR_CBaseType) + { + *(TTypeBase*)(this) = AR_CBaseType; return *this; + }/* + ZtCThread& operator=(const TTypeBase& AR_CBaseType)*/ + operator ThreadID () const {