commit 2025-10-17 01:04 edit a bit ZCppMain/ZMainHead.H
This commit is contained in:
@ -3262,7 +3262,7 @@ namespace ZNsMain
|
||||
public :
|
||||
ZCObjNow & GetNowObj () {return mo_ZCObjNow ;}
|
||||
ZCObjNext& GetNextObj() {return mo_ZCObjNext;}
|
||||
/*#####################################################*/
|
||||
/*#########################################################*/
|
||||
const ZCObjNow & GetNowObj () const{return mo_ZCObjNow ;}
|
||||
const ZCObjNext& GetNextObj() const{return mo_ZCObjNext;}
|
||||
public:
|
||||
@ -3285,7 +3285,7 @@ namespace ZNsMain
|
||||
public :
|
||||
ZCObjNow& GetNowObj () {return mo_ZCObjNow;}
|
||||
ZCObjNext& GetNextObj() {return mo_ZCObjNow;}
|
||||
/*####################################################*/
|
||||
/*########################################################*/
|
||||
const ZCObjNow& GetNowObj () const{return mo_ZCObjNow;}
|
||||
const ZCObjNext& GetNextObj() const{return mo_ZCObjNow;}
|
||||
public:
|
||||
|
@ -7136,7 +7136,6 @@ namespace ZNsMain
|
||||
{
|
||||
return VI_EmptyBuffCnt;
|
||||
}
|
||||
////////////////
|
||||
}
|
||||
else // AL_Length<ZNsMain::ZTypInt(VP_IOBuff->iov_len)
|
||||
{
|
||||
@ -7169,9 +7168,7 @@ namespace ZNsMain
|
||||
{
|
||||
if(mi_HeadPos<1) return ;
|
||||
|
||||
int VI_Index=0 ;
|
||||
int i =mi_HeadPos;
|
||||
|
||||
int VI_Index= 0, i = mi_HeadPos;
|
||||
int VI_ValidBuffCnt = GetSize() ;
|
||||
|
||||
for(; i<=mi_TailPos; ++i)
|
||||
@ -7189,8 +7186,7 @@ namespace ZNsMain
|
||||
}/*
|
||||
for(i=0; i<mi_HeadPos; ++i)*/
|
||||
|
||||
mi_HeadPos=0 ;
|
||||
mi_TailPos=VI_ValidBuffCnt-1;
|
||||
mi_HeadPos= 0 ; mi_TailPos= VI_ValidBuffCnt-1;
|
||||
}/*
|
||||
void MoveFirst()*/
|
||||
|
||||
|
Reference in New Issue
Block a user