diff options
author | Pixel <> | 2001-03-22 12:37:28 +0000 |
---|---|---|
committer | Pixel <> | 2001-03-22 12:37:28 +0000 |
commit | 6dbb3e3b0c624b1e4d51e7f3034918fe58e95970 (patch) | |
tree | 47a45592a6ca1073d2563fab4cb5753747b586c7 | |
parent | 9e70c36a3c49801a0cb0bf1f0a4f8b353e4703f1 (diff) |
Last bugfixe (?)
-rw-r--r-- | lib/BinHeap.cc | 2 | ||||
-rw-r--r-- | lib/CList.cc | 2 | ||||
-rw-r--r-- | lib/PCommon.cc | 3 | ||||
-rw-r--r-- | po/PriorityLists.pot | 6 |
4 files changed, 7 insertions, 6 deletions
diff --git a/lib/BinHeap.cc b/lib/BinHeap.cc index bb58141..b4df068 100644 --- a/lib/BinHeap.cc +++ b/lib/BinHeap.cc @@ -1,5 +1,6 @@ #include <stdio.h> #include <stdlib.h> +#include <iostream.h> #include "config.h" #include "BinHeap.h" #include "CList.h" @@ -77,6 +78,7 @@ BinHeap::~BinHeap(void) { if (Datas) free(Datas); + delete FP; } Key_t BinHeap::ReadKey(Cell C) diff --git a/lib/CList.cc b/lib/CList.cc index 7e1f39a..07378db 100644 --- a/lib/CList.cc +++ b/lib/CList.cc @@ -1,4 +1,5 @@ #include <stdio.h> +#include <iostream.h> #include "config.h" #include "CList.h" @@ -26,6 +27,7 @@ CList::CList(CList * IPoint, Datas_t IDatas, Key_t IKey):Left(IPoint), Right(IPo CList::CList(void):Left(NULL), Right(NULL), Key(0), Datas(NULL) { } + CList::~CList(void) { if (Right) diff --git a/lib/PCommon.cc b/lib/PCommon.cc index 1ceec6a..16a8a3f 100644 --- a/lib/PCommon.cc +++ b/lib/PCommon.cc @@ -46,10 +46,7 @@ PriorityList *PriorityList::GenericUnion(PriorityList * P) Key_t IKey; Datas_t IDatas; - cerr << "Dans l'union generique\n"; - while (!(P->IsEmpty())) { - cerr << "Extraction de la clef " << IKey << endl; IKey = P->Extract_Min(IDatas); Insert(IKey, IDatas); } diff --git a/po/PriorityLists.pot b/po/PriorityLists.pot index 9887f85..bc15857 100644 --- a/po/PriorityLists.pot +++ b/po/PriorityLists.pot @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2001-03-22 01:30+0100\n" +"POT-Creation-Date: 2001-03-22 13:52+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -429,11 +429,11 @@ msgid "" " |\n" msgstr "" -#: lib/BinHeap.cc:131 +#: lib/BinHeap.cc:133 msgid "Not enough memory" msgstr "" -#: lib/BinHeap.cc:161 +#: lib/BinHeap.cc:163 msgid "negative overflow" msgstr "" |