actual fix
This commit is contained in:
parent
0e8bb3bf41
commit
14ec68d8d3
@ -134,8 +134,15 @@ public:
|
||||
bool Remove(ItemType item)
|
||||
{
|
||||
cCSLock Lock(m_CS);
|
||||
for (iterator itr = m_contents.begin(); itr != m_contents.end(); ++itr)
|
||||
{
|
||||
if((*itr) == a_item) {
|
||||
m_contents.erase(itr);
|
||||
m_evtRemoved.Set();
|
||||
return m_contents.remove(item);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
private:
|
||||
|
Loading…
Reference in New Issue
Block a user