projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f32674d
)
eventq: allow an implicit cast from an EventManager to an EventQueue *
author
Nathan Binkert
<nate@binkert.org>
Fri, 2 Apr 2010 22:28:22 +0000
(15:28 -0700)
committer
Nathan Binkert
<nate@binkert.org>
Fri, 2 Apr 2010 22:28:22 +0000
(15:28 -0700)
src/sim/eventq.hh
patch
|
blob
|
history
diff --git
a/src/sim/eventq.hh
b/src/sim/eventq.hh
index 7c814d87246c34096aeeb978f53251c6b90581ed..cee48665da4b82fe887a4e0b27b803e2c4e49930 100644
(file)
--- 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)
{