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:
@ -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() &&
|
||||
|
||||
Reference in New Issue
Block a user