fixed two bug.
This commit is contained in:
@@ -36,7 +36,7 @@ namespace hgl
|
|||||||
|
|
||||||
end=data_array+max_count;
|
end=data_array+max_count;
|
||||||
|
|
||||||
series.Init(max_count);
|
return series.Init(max_count);
|
||||||
}
|
}
|
||||||
|
|
||||||
~DataStackPool()
|
~DataStackPool()
|
||||||
|
@@ -26,6 +26,8 @@ namespace hgl
|
|||||||
start->next=nullptr;
|
start->next=nullptr;
|
||||||
start->start=0;
|
start->start=0;
|
||||||
start->count=max_count;
|
start->count=max_count;
|
||||||
|
|
||||||
|
return(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
DataChain::UserNode *DataChain::Acquire(const int acquire_count)
|
DataChain::UserNode *DataChain::Acquire(const int acquire_count)
|
||||||
|
Reference in New Issue
Block a user