master
Tycho 2014-01-03 08:56:20 -08:00
parent 14ec68d8d3
commit 13bbb3d99d
2 changed files with 4 additions and 1 deletions

View File

@ -35,6 +35,9 @@ CMAKE_COMMAND = /usr/bin/cmake
# The command to remove a file. # The command to remove a file.
RM = /usr/bin/cmake -E remove -f RM = /usr/bin/cmake -E remove -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run. # The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/tycho/MCServer CMAKE_SOURCE_DIR = /home/tycho/MCServer

View File

@ -131,7 +131,7 @@ public:
} }
// Removes an Item from the queue // Removes an Item from the queue
bool Remove(ItemType item) bool Remove(ItemType a_item)
{ {
cCSLock Lock(m_CS); cCSLock Lock(m_CS);
for (iterator itr = m_contents.begin(); itr != m_contents.end(); ++itr) for (iterator itr = m_contents.begin(); itr != m_contents.end(); ++itr)