diff --git a/src/include/List.h b/src/include/List.h index e1544aa860622a09b989bb568cc13d059c69d6bb..50c341304198944fc56f639439d510e3292e7982 100644 --- a/src/include/List.h +++ b/src/include/List.h @@ -104,6 +104,8 @@ template<class T> class List { last = current; } + /*! \brief Destroy a List instance. + */ ~List() { current = last; element *old;