summaryrefslogtreecommitdiff
path: root/lib/FHeap.cc
diff options
context:
space:
mode:
authorPixel <>2001-03-21 10:58:51 +0000
committerPixel <>2001-03-21 10:58:51 +0000
commitb75cdf41d321bce00a3f7c0c980c1f6cdc6117a8 (patch)
tree6f9b4762b8c66ddae9c68b5fd69e3afa08b2b7df /lib/FHeap.cc
parent9bf8629e1420fb0bc09103e747f7d9b18aa7f10d (diff)
Bugfixes
Diffstat (limited to 'lib/FHeap.cc')
-rw-r--r--lib/FHeap.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/FHeap.cc b/lib/FHeap.cc
index a10e089..17ed0b5 100644
--- a/lib/FHeap.cc
+++ b/lib/FHeap.cc
@@ -238,7 +238,7 @@ PriorityList *FHeap::Union(PriorityList * P)
{
FHeap *Temp, *T = ((FHeap *) P);
- if ((P->GetType()) != (((PriorityList *) P)->GetType()))
+ if (GetType() != (P->GetType()))
return GenericUnion(P);
/* Cette fonction ne suit pas du tout l'idée du Cormen. Elle va