fixed failure to return a value from Remove
parent
6f3c5b806e
commit
0e8bb3bf41
|
@ -134,8 +134,8 @@ public:
|
||||||
bool Remove(ItemType item)
|
bool Remove(ItemType item)
|
||||||
{
|
{
|
||||||
cCSLock Lock(m_CS);
|
cCSLock Lock(m_CS);
|
||||||
m_contents.remove(item);
|
|
||||||
m_evtRemoved.Set();
|
m_evtRemoved.Set();
|
||||||
|
return m_contents.remove(item);
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
Loading…
Reference in New Issue