mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-02-11 14:36:25 +08:00
fix: LGTM warnings in...
...`data_structures/rb_tree.cpp`.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user