summaryrefslogtreecommitdiff
path: root/lib/BHeap.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/BHeap.cc')
-rw-r--r--lib/BHeap.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/BHeap.cc b/lib/BHeap.cc
index aaec87a..7d7caf5 100644
--- a/lib/BHeap.cc
+++ b/lib/BHeap.cc
@@ -323,7 +323,7 @@ PriorityList *BHeap::Union(PriorityList * P)
{
BHeap *x, *Before, *After;
- if ((P->GetType()) != (((PriorityList *) this)->GetType()))
+ if ((P->GetType()) != GetType())
return GenericUnion(P);
Merge((BHeap *) P);