diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-01-03 17:34:41 +0100 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-01-03 17:34:41 +0100 |
commit | 0e8bb3bf415e4c0fe6c8bd0aa06dc2d9af2823c4 (patch) | |
tree | 1112deb06d213f3691ed054e2c675259a4e6a3f6 /src/OSSupport | |
parent | implement xsofts recommendations (diff) | |
download | cuberite-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 'src/OSSupport')
-rw-r--r-- | src/OSSupport/Queue.h | 2 |
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: |