fixed two bug.

This commit is contained in:
2024-04-02 09:47:43 +08:00
parent 71d198a335
commit 35c044475b
2 changed files with 3 additions and 1 deletions

View File

@@ -36,7 +36,7 @@ namespace hgl
end=data_array+max_count;
series.Init(max_count);
return series.Init(max_count);
}
~DataStackPool()

View File

@@ -26,6 +26,8 @@ namespace hgl
start->next=nullptr;
start->start=0;
start->count=max_count;
return(true);
}
DataChain::UserNode *DataChain::Acquire(const int acquire_count)