mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-09 15:28:14 +02:00
lazutils: TAvgLvlTree: made FreeAndDelete virtual safe
git-svn-id: trunk@54537 -
This commit is contained in:
parent
efd6a6efc5
commit
7fa04aed29
@ -666,7 +666,7 @@ begin
|
||||
OldParent:=ANode;
|
||||
while OldParent.Parent<>nil do OldParent:=OldParent.Parent;
|
||||
if OldParent<>Root then
|
||||
raise Exception,Create('TAVLTree.Delete'); // not my node
|
||||
raise Exception.Create('TAVLTree.Delete'); // not my node
|
||||
{$ENDIF}
|
||||
if (ANode.Left<>nil) and (ANode.Right<>nil) then begin
|
||||
// ANode has both: Left and Right
|
||||
|
Loading…
Reference in New Issue
Block a user