* Add operator -= to HookList.
--HG-- branch : trunk
This commit is contained in:
@@ -325,6 +325,11 @@ class HookList
|
|||||||
m_list.push_back(t);
|
m_list.push_back(t);
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
HookList<T> & operator-=(T t)
|
||||||
|
{
|
||||||
|
m_list.remove(t);
|
||||||
|
return *this;
|
||||||
|
}
|
||||||
ListIterator begin()
|
ListIterator begin()
|
||||||
{
|
{
|
||||||
return m_list.begin();
|
return m_list.begin();
|
||||||
|
|||||||
Reference in New Issue
Block a user