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/linkedlist.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/linkedlist.h') 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: /** * Delete all list data, but do not delete any of the contained elements. */ - ~LinkedList(); + virtual ~LinkedList(); void *getAt( int nIndex ); void append( void *pData ); -- cgit v1.2.3