do not forget to update the key arg upon sucessful return

This commit is contained in:
Mathieu Lacage
2006-12-11 19:13:35 +01:00
parent c2a68da13e
commit 5540a3de6d

View File

@@ -78,6 +78,8 @@ SchedulerList::RealRemove (EventId id, Scheduler::EventKey *key)
{
EventImpl *retval = i->first;
assert (id.GetEventImpl () == retval);
key->m_ns = id.GetNs ();
key->m_uid = id.GetUid ();
m_events.erase (i);
return retval;
}