eventq: allow an implicit cast from an EventManager to an EventQueue *
This commit is contained in:
parent
f32674d9bc
commit
d71f9712b3
1 changed files with 5 additions and 0 deletions
|
@ -440,6 +440,11 @@ class EventManager
|
|||
return eventq;
|
||||
}
|
||||
|
||||
operator EventQueue *() const
|
||||
{
|
||||
return eventq;
|
||||
}
|
||||
|
||||
void
|
||||
schedule(Event &event, Tick when)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue