Removing polymorph from test
This commit is contained in:
@@ -485,6 +485,7 @@ int length(List<T> *list) {
|
||||
|
||||
template <class T>
|
||||
void free_all_nodes(List<T> *list) {
|
||||
if (list->first == 0) return;
|
||||
assert(!list->last->next);
|
||||
assert(!list->first->prev);
|
||||
list->last->next = list->first_free;
|
||||
|
||||
Reference in New Issue
Block a user