diff options
author | Pixel <> | 2001-03-05 01:30:36 +0000 |
---|---|---|
committer | Pixel <> | 2001-03-05 01:30:36 +0000 |
commit | dfd868ecf9e37a5e6954a073c3ba43a970f7ca54 (patch) | |
tree | 3c85775253afaa6c43148a8da46fa8a7803de62e /lib/FHeap.cc | |
parent | f1eb23d8a489aa0353b68aba47c065e3206920ac (diff) |
Projet quasi fini...
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) |