diff options
Diffstat (limited to 'lib/FHeap.cc')
-rw-r--r-- | lib/FHeap.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/FHeap.cc b/lib/FHeap.cc index 9f3dc24..158a1e5 100644 --- a/lib/FHeap.cc +++ b/lib/FHeap.cc @@ -136,8 +136,6 @@ Father(NULL), Child(NULL), Left(this), Right(this), Degree(0), Mark(false) FHeap::~FHeap(void) { - FHeap *T; - if (Child) { delete Child; } @@ -277,6 +275,7 @@ bool FHeap::Lower_Key(Cell x, Key_t NKey) } if (NKey < Child->Key) Child = tx; + return true; } Key_t FHeap::Delete(Datas_t & Datas, Cell x) |