remove unused function
This commit is contained in:
parent
10c65fad1d
commit
26b956720c
@ -76,6 +76,25 @@ public:
|
|||||||
++m_count;
|
++m_count;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void PushAfter(T* prev, T* link)
|
||||||
|
{
|
||||||
|
link->m_prev = prev;
|
||||||
|
|
||||||
|
if (prev->m_next == NULL)
|
||||||
|
{
|
||||||
|
link->m_next = NULL;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
link->m_next = prev->m_next;
|
||||||
|
prev->m_next->m_prev = link;
|
||||||
|
}
|
||||||
|
|
||||||
|
prev->m_next = link;
|
||||||
|
|
||||||
|
++m_count;
|
||||||
|
}
|
||||||
|
|
||||||
void Remove(T* link)
|
void Remove(T* link)
|
||||||
{
|
{
|
||||||
if (link->m_prev)
|
if (link->m_prev)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user