mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
fix: LGTM warnings in...
...`data_structures/rb_tree.cpp`.
This commit is contained in:
parent
f71fbc54d7
commit
d970011d3d
@ -244,7 +244,7 @@ void RBtree::delfix(node *p)
|
||||
{
|
||||
if (s->right->color == 'b')
|
||||
{
|
||||
s->left->color == 'b';
|
||||
s->left->color = 'b';
|
||||
s->color = 'r';
|
||||
rightrotate(s);
|
||||
s = p->parent->right;
|
||||
|
Loading…
Reference in New Issue
Block a user