diff options
Diffstat (limited to 'include/BinHeap.h')
-rw-r--r-- | include/BinHeap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/BinHeap.h b/include/BinHeap.h index 8273365..41872f7 100644 --- a/include/BinHeap.h +++ b/include/BinHeap.h @@ -14,7 +14,7 @@ typedef class BinHeap:public PriorityList { private: void PackUp(int i); public: BinHeap(void); // Constructor - ~BinHeap(void); // Destructor + virtual ~BinHeap(void); // Destructor virtual int rn(void); |