eventq: allow an implicit cast from an EventManager to an EventQueue *
This commit is contained in:
@@ -440,6 +440,11 @@ class EventManager
|
||||
return eventq;
|
||||
}
|
||||
|
||||
operator EventQueue *() const
|
||||
{
|
||||
return eventq;
|
||||
}
|
||||
|
||||
void
|
||||
schedule(Event &event, Tick when)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user