From 06dbb7d1c89096e4a61fb28815ddb51ec2addff6 Mon Sep 17 00:00:00 2001 From: fallenoak Date: Sun, 26 Mar 2023 15:01:17 -0500 Subject: [PATCH] fix(list): correct name of clear function --- storm/list/TSList.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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())) {