summaryrefslogtreecommitdiff
path: root/src/linkedlist.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/linkedlist.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 'src/linkedlist.h')
-rw-r--r--src/linkedlist.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/linkedlist.h b/src/linkedlist.h
index c45cc9b..e430108 100644
--- a/src/linkedlist.h
+++ b/src/linkedlist.h
@@ -27,7 +27,7 @@ public:
27 /** 27 /**
28 * Delete all list data, but do not delete any of the contained elements. 28 * Delete all list data, but do not delete any of the contained elements.
29 */ 29 */
30 ~LinkedList(); 30 virtual ~LinkedList();
31 31
32 void *getAt( int nIndex ); 32 void *getAt( int nIndex );
33 void append( void *pData ); 33 void append( void *pData );