aboutsummaryrefslogtreecommitdiff
path: root/src/hashtable.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2006-07-14 07:55:14 +0000
committerMike Buland <eichlan@xagasoft.com>2006-07-14 07:55:14 +0000
commitf0f38e0f164b7e8b9132665407445d93f33be7ad (patch)
tree85bad44d80eb9df45a9f7ea960b51d1b2c003843 /src/hashtable.h
parent74f94e9b20c93b93ad8b9091474f6368fc79c697 (diff)
downloadlibbu++-f0f38e0f164b7e8b9132665407445d93f33be7ad.tar.gz
libbu++-f0f38e0f164b7e8b9132665407445d93f33be7ad.tar.bz2
libbu++-f0f38e0f164b7e8b9132665407445d93f33be7ad.tar.xz
libbu++-f0f38e0f164b7e8b9132665407445d93f33be7ad.zip
Made everything have a virtual deconstructor. This is apparently very
important.
Diffstat (limited to '')
-rw-r--r--src/hashtable.h2
1 files changed, 1 insertions, 1 deletions
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:
69 * Destroys the hashtable, cleaning up all internal storage, but not stored 69 * Destroys the hashtable, cleaning up all internal storage, but not stored
70 * elements. Also deletes the HashFunction passed in in the constructor. 70 * elements. Also deletes the HashFunction passed in in the constructor.
71 */ 71 */
72 ~HashTable(); 72 virtual ~HashTable();
73 73
74 /** Inserts an item into the hashtable. This function will trigger a 74 /** Inserts an item into the hashtable. This function will trigger a
75 * rehash if adding another item would force the table's load factor over 75 * rehash if adding another item would force the table's load factor over