From 94807214c417f3124e2824597c2867f91c1017b3 Mon Sep 17 00:00:00 2001 From: Steve Reinhardt Date: Fri, 7 Jan 2011 21:50:29 -0800 Subject: 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. --- src/sim/sim_events.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sim/sim_events.hh') 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 -- cgit v1.2.3