diff --git a/inc/hgl/type/DataStackPool.h b/inc/hgl/type/DataStackPool.h index b7e10a2..ffff3ea 100644 --- a/inc/hgl/type/DataStackPool.h +++ b/inc/hgl/type/DataStackPool.h @@ -36,7 +36,7 @@ namespace hgl end=data_array+max_count; - series.Init(max_count); + return series.Init(max_count); } ~DataStackPool() diff --git a/src/Type/DataChain.cpp b/src/Type/DataChain.cpp index 0e4fe14..549c2a2 100644 --- a/src/Type/DataChain.cpp +++ b/src/Type/DataChain.cpp @@ -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)