summaryrefslogtreecommitdiffstats
path: root/src/OSSupport/Queue.h
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-01-03 17:34:41 +0100
committerTycho <work.tycho+git@gmail.com>2014-01-03 17:34:41 +0100
commit0e8bb3bf415e4c0fe6c8bd0aa06dc2d9af2823c4 (patch)
tree1112deb06d213f3691ed054e2c675259a4e6a3f6 /src/OSSupport/Queue.h
parentimplement xsofts recommendations (diff)
downloadcuberite-0e8bb3bf415e4c0fe6c8bd0aa06dc2d9af2823c4.tar
cuberite-0e8bb3bf415e4c0fe6c8bd0aa06dc2d9af2823c4.tar.gz
cuberite-0e8bb3bf415e4c0fe6c8bd0aa06dc2d9af2823c4.tar.bz2
cuberite-0e8bb3bf415e4c0fe6c8bd0aa06dc2d9af2823c4.tar.lz
cuberite-0e8bb3bf415e4c0fe6c8bd0aa06dc2d9af2823c4.tar.xz
cuberite-0e8bb3bf415e4c0fe6c8bd0aa06dc2d9af2823c4.tar.zst
cuberite-0e8bb3bf415e4c0fe6c8bd0aa06dc2d9af2823c4.zip
Diffstat (limited to '')
-rw-r--r--src/OSSupport/Queue.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/OSSupport/Queue.h b/src/OSSupport/Queue.h
index 65f9bd258..bf6d7e451 100644
--- a/src/OSSupport/Queue.h
+++ b/src/OSSupport/Queue.h
@@ -134,8 +134,8 @@ public:
bool Remove(ItemType item)
{
cCSLock Lock(m_CS);
- m_contents.remove(item);
m_evtRemoved.Set();
+ return m_contents.remove(item);
}
private: