summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/sim/eventq.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/sim/eventq.hh b/src/sim/eventq.hh
index 7c814d872..cee48665d 100644
--- a/src/sim/eventq.hh
+++ b/src/sim/eventq.hh
@@ -440,6 +440,11 @@ class EventManager
return eventq;
}
+ operator EventQueue *() const
+ {
+ return eventq;
+ }
+
void
schedule(Event &event, Tick when)
{