summaryrefslogtreecommitdiff
path: root/include/BinHeap.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/BinHeap.h')
-rw-r--r--include/BinHeap.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/BinHeap.h b/include/BinHeap.h
index 41872f7..c67239c 100644
--- a/include/BinHeap.h
+++ b/include/BinHeap.h
@@ -10,11 +10,12 @@ struct binheap_t {
};
#ifdef __cplusplus
-typedef class BinHeap:public PriorityList { private:
+typedef class BinHeap:public PriorityList {
+ private:
void PackUp(int i);
public:
BinHeap(void); // Constructor
- virtual ~BinHeap(void); // Destructor
+ virtual ~ BinHeap(void); // Destructor
virtual int rn(void);