This commit is contained in:
aozhiwei 2023-09-15 11:07:34 +08:00
parent f0ba360bdc
commit 867867b5d6

View File

@ -115,7 +115,7 @@ func (this *ListHead) ForEach(cb ListHead_Foreach_Func) {
}
if cursor.next == oldN {
oldN.Del()
cursor.prev.AddHead(oldN)
cursor.AddTail(oldN)
}
}
}