!10301 Change notes

Merge pull request !10301 from 陈涵韬/local
This commit is contained in:
openharmony_ci 2024-11-19 14:05:28 +00:00 committed by Gitee
commit bb24e29dd7
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -249,7 +249,7 @@ JSTaggedValue TaggedHashArray::RemoveNode(JSThread *thread, int hash, JSTaggedVa
Set(thread, index, JSTaggedValue::Hole());
return oldValue;
}
//set root node as red
//set root node as black
RBTreeNode *root = RBTreeNode::Cast(rootTreeNodeVa.GetTaggedObject());
if (root->GetIsRed().ToBoolean()) {
root->SetIsRed(thread, JSTaggedValue(false));