eventq: allow an implicit cast from an EventManager to an EventQueue *

This commit is contained in:
Nathan Binkert 2010-04-02 15:28:22 -07:00
parent f32674d9bc
commit d71f9712b3

View file

@ -440,6 +440,11 @@ class EventManager
return eventq;
}
operator EventQueue *() const
{
return eventq;
}
void
schedule(Event &event, Tick when)
{