From f0f38e0f164b7e8b9132665407445d93f33be7ad Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Fri, 14 Jul 2006 07:55:14 +0000 Subject: Made everything have a virtual deconstructor. This is apparently very important. --- src/hashtable.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/hashtable.h') diff --git a/src/hashtable.h b/src/hashtable.h index b015107..170793f 100644 --- a/src/hashtable.h +++ b/src/hashtable.h @@ -69,7 +69,7 @@ public: * Destroys the hashtable, cleaning up all internal storage, but not stored * elements. Also deletes the HashFunction passed in in the constructor. */ - ~HashTable(); + virtual ~HashTable(); /** Inserts an item into the hashtable. This function will trigger a * rehash if adding another item would force the table's load factor over -- cgit v1.2.3