summaryrefslogtreecommitdiff
path: root/lib/BHeap.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/BHeap.cc
parent9bf8629e1420fb0bc09103e747f7d9b18aa7f10d (diff)
Bugfixes
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);