From 1e9001071663a994e8898dfe8d458bcf31cdd6cc Mon Sep 17 00:00:00 2001 From: sauron Date: Mon, 25 Aug 2025 23:25:48 +0900 Subject: [PATCH] commit 2025-08-25 23:25 edit a bit ZtCObjectNew in ZCppMain/ZMainHead.H --- ZCppMain/ZMainHead.H | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ZCppMain/ZMainHead.H b/ZCppMain/ZMainHead.H index 7fadf53..0c933e8 100644 --- a/ZCppMain/ZMainHead.H +++ b/ZCppMain/ZMainHead.H @@ -2941,10 +2941,10 @@ namespace ZNsMain template< typename TType, typename TAllocClass=ZCAllocClass > - class ZtCObjectNew : public TAllocClass //////////////////// + class ZtCObjectNew : public TAllocClass ///////////////////// { public : - typedef TType TypeData ; + typedef TType TypeData ; typedef TAllocClass ZCAllocator; private: @@ -3024,7 +3024,7 @@ namespace ZNsMain { if(&mp_StTypeRefCnt->MO_TypeData==&AR_TypeData) return *this; - mp_StTypeRefCnt->MO_TypeData = AR_TypeData; return *this; + mp_StTypeRefCnt->MO_TypeData = AR_TypeData; return *this; }/* ZtCObjectNew& operator=(const TypeData& AR_TypeData)*/ @@ -3033,14 +3033,14 @@ namespace ZNsMain operator TypeData& (){return mp_StTypeRefCnt->MO_TypeData;} - ZTypInt GetRefCnt() const{return mp_StTypeRefCnt->MI_RefCount;} - TypeData* GetObjPtr() const{return &mp_StTypeRefCnt->MO_TypeData;} + ZTypInt GetRefCnt () const{return mp_StTypeRefCnt->MI_RefCount;} + TypeData* GetObjPtr () const{return &mp_StTypeRefCnt->MO_TypeData;} public : };/* template< typename TType, typename TAllocClass=ZCAllocClass > - class ZtCObjectNew : public TAllocClass //////////////////*/ + class ZtCObjectNew : public TAllocClass ///////////////////*/ #ifdef _DEBUG