diff options
Diffstat (limited to 'src/list.h')
-rw-r--r-- | src/list.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -33,6 +33,12 @@ namespace Bu | |||
33 | pLast( NULL ), | 33 | pLast( NULL ), |
34 | nSize( 0 ) | 34 | nSize( 0 ) |
35 | { } | 35 | { } |
36 | |||
37 | virtual ~ListCore() | ||
38 | { | ||
39 | clear(); | ||
40 | } | ||
41 | |||
36 | Link *pFirst; | 42 | Link *pFirst; |
37 | Link *pLast; | 43 | Link *pLast; |
38 | long nSize; | 44 | long nSize; |