From dfd868ecf9e37a5e6954a073c3ba43a970f7ca54 Mon Sep 17 00:00:00 2001 From: Pixel <> Date: Mon, 5 Mar 2001 01:30:36 +0000 Subject: Projet quasi fini... --- lib/FHeap.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/FHeap.cc') 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) -- cgit v1.2.3