mirror of
https://github.com/thunderbrewhq/squall.git
synced 2025-12-12 02:22:30 +00:00
fix(list): correct name of clear function
This commit is contained in:
parent
d91c5fe916
commit
06dbb7d1c8
1 changed files with 2 additions and 2 deletions
|
|
@ -21,7 +21,7 @@ class TSList {
|
||||||
TSList();
|
TSList();
|
||||||
~TSList();
|
~TSList();
|
||||||
void ChangeLinkOffset(ptrdiff_t linkoffset);
|
void ChangeLinkOffset(ptrdiff_t linkoffset);
|
||||||
void DeleteAll();
|
void Clear();
|
||||||
T* DeleteNode(T* ptr);
|
T* DeleteNode(T* ptr);
|
||||||
T* Head();
|
T* Head();
|
||||||
void InitializeTerminator();
|
void InitializeTerminator();
|
||||||
|
|
@ -60,7 +60,7 @@ void TSList<T, TGetLink>::ChangeLinkOffset(ptrdiff_t linkoffset) {
|
||||||
}
|
}
|
||||||
|
|
||||||
template <class T, class TGetLink>
|
template <class T, class TGetLink>
|
||||||
void TSList<T, TGetLink>::DeleteAll() {
|
void TSList<T, TGetLink>::Clear() {
|
||||||
T* node;
|
T* node;
|
||||||
|
|
||||||
while ((node = this->Head())) {
|
while ((node = this->Head())) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue