removing redundant EventList::makeActive(event)

This method has no users, and I'm preparing for modifying a dependency's
signature.

git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1023 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
hsc
2012-04-03 14:05:26 +00:00
parent f3855293ca
commit 643299c26e
2 changed files with 3 additions and 22 deletions

View File

@ -96,18 +96,6 @@ BaseEvent* EventList::getEventFromId(EventId id)
return (NULL); // Nothing found.
}
void EventList::makeActive(BaseEvent* ev)
{
assert(ev && "FATAL ERROR: Event object pointer cannot be NULL!");
ev->decreaseCounter();
if (ev->getCounter() > 0) {
return;
}
ev->resetCounter();
if(remove(ev)) // remove event from buffer-list
m_FireList.push_back(ev);
}
EventList::iterator EventList::makeActive(iterator it)
{
assert(it != m_BufferList.end() &&