lazutils: TAVLTree: do not use LazNodeMemManager by default for thread safety

This commit is contained in:
mattias 2023-04-02 21:17:22 +02:00
parent c7f0ddbba8
commit 94e7aff9ad

View File

@ -639,7 +639,6 @@ end;
constructor TAVLTree.Create(const OnCompareMethod: TListSortCompare);
begin
fNodeMgr:=LazNodeMemManager;
FOnCompare:=OnCompareMethod;
Init;
end;
@ -647,7 +646,6 @@ end;
constructor TAVLTree.CreateObjectCompare(
const OnCompareMethod: TObjectSortCompare);
begin
fNodeMgr:=LazNodeMemManager;
FOnObjectCompare:=OnCompareMethod;
Init;
end;