summaryrefslogtreecommitdiff
path: root/lib/FHeap.cc
diff options
context:
space:
mode:
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