diff options
author | Mike Buland <eichlan@xagasoft.com> | 2006-07-14 07:55:14 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2006-07-14 07:55:14 +0000 |
commit | f0f38e0f164b7e8b9132665407445d93f33be7ad (patch) | |
tree | 85bad44d80eb9df45a9f7ea960b51d1b2c003843 /src/arraylist.h | |
parent | 74f94e9b20c93b93ad8b9091474f6368fc79c697 (diff) | |
download | libbu++-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/arraylist.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arraylist.h b/src/arraylist.h index 74992cf..0fda34a 100644 --- a/src/arraylist.h +++ b/src/arraylist.h | |||
@@ -24,7 +24,7 @@ public: | |||
24 | /** | 24 | /** |
25 | * Destroy the ArrayList | 25 | * Destroy the ArrayList |
26 | */ | 26 | */ |
27 | ~ArrayList(); | 27 | virtual ~ArrayList(); |
28 | 28 | ||
29 | void *getAt( int nIndex ); | 29 | void *getAt( int nIndex ); |
30 | void append( void *pData ); | 30 | void append( void *pData ); |