summaryrefslogtreecommitdiff
path: root/src/sim/sim_events.hh
diff options
context:
space:
mode:
authorSteve Reinhardt <steve.reinhardt@amd.com>2011-01-07 21:50:29 -0800
committerSteve Reinhardt <steve.reinhardt@amd.com>2011-01-07 21:50:29 -0800
commit94807214c417f3124e2824597c2867f91c1017b3 (patch)
tree2d16634fb80169d3d7d0f1a9002a15bf78e54bc7 /src/sim/sim_events.hh
parent030736a69b238f1da7f9ed6409ce5ab9e094c9fb (diff)
downloadgem5-94807214c417f3124e2824597c2867f91c1017b3.tar.xz
sim: clean up CountedDrainEvent slightly.
There's no reason for it to derive from SimLoopExitEvent. This whole drain thing needs to be redone eventually, but this is a stopgap to make later changes to SimLoopExitEvent feasible.
Diffstat (limited to 'src/sim/sim_events.hh')
-rw-r--r--src/sim/sim_events.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sim/sim_events.hh b/src/sim/sim_events.hh
index 17e2cc202..6ea361a05 100644
--- a/src/sim/sim_events.hh
+++ b/src/sim/sim_events.hh
@@ -55,7 +55,7 @@ class SimLoopExitEvent : public Event
virtual const char *description() const;
};
-class CountedDrainEvent : public SimLoopExitEvent
+class CountedDrainEvent : public Event
{
private:
// Count of how many objects have not yet drained