提交 b1b65935 编写于 作者: 邹晓航

bug fix

上级 361c80d4
......@@ -102,7 +102,7 @@ namespace TinySTL{
for (int i = 0; i <= EMaxBytes::MAXBYTES; i += EAlign::ALIGN){
my_free_list = free_list + FREELIST_INDEX(i);
p = *my_free_list;
if (!p){
if (p != 0){
*my_free_list = p->next;
start_free = (char *)p;
end_free = start_free + i;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册