mirror of
https://gitee.com/apaki/unicstl.git
synced 2025-07-03 15:56:52 +08:00
为什么还不行?
This commit is contained in:
parent
6cd3356bdb
commit
b0de90becf
@ -1338,6 +1338,7 @@ bool tree_rb_delete(struct _tree* self, void* obj)
|
||||
memmove(node->obj, tmp->obj, self->_obj_size);
|
||||
if(tmp->right != NULL)
|
||||
{
|
||||
// tmp->right must be red
|
||||
memmove(tmp->obj, tmp->right->obj, self->_obj_size);
|
||||
tmp = tmp->right;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user