diff --git a/storm/list/TSList.hpp b/storm/list/TSList.hpp index b5b2ac3..76e39b1 100644 --- a/storm/list/TSList.hpp +++ b/storm/list/TSList.hpp @@ -21,7 +21,7 @@ class TSList { TSList(); ~TSList(); void ChangeLinkOffset(ptrdiff_t linkoffset); - void DeleteAll(); + void Clear(); T* DeleteNode(T* ptr); T* Head(); void InitializeTerminator(); @@ -60,7 +60,7 @@ void TSList::ChangeLinkOffset(ptrdiff_t linkoffset) { } template -void TSList::DeleteAll() { +void TSList::Clear() { T* node; while ((node = this->Head())) {