From 1738a7d2601ba757ae6ab36f0549a50396d73e45 Mon Sep 17 00:00:00 2001 From: Andreas Sandberg Date: Tue, 3 Jan 2017 17:31:39 +0000 Subject: [PATCH] sim: Remove declaration of unused CountedDrainEvent The CountedDrainEvent event was used to keep track of objects that required additional simulation to drain. It was removed as a part of the great drain rewrite, but the declaration remained. Change-Id: I767a3213669040d3f27e2afafa2e4a5bb997e325 Signed-off-by: Andreas Sandberg Reviewed-by: Curtis Dunham --- src/sim/sim_events.hh | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/sim/sim_events.hh b/src/sim/sim_events.hh index 8fb04408a..6343071dc 100644 --- a/src/sim/sim_events.hh +++ b/src/sim/sim_events.hh @@ -98,22 +98,6 @@ class LocalSimLoopExitEvent : public Event const std::string §ion); }; -class CountedDrainEvent : public Event -{ - private: - // Count of how many objects have not yet drained - int count; - - public: - CountedDrainEvent(); - - void process() override; - - void setCount(int _count) { count = _count; } - - int getCount() const { return count; } -}; - // // Event class to terminate simulation after 'n' related events have // occurred using a shared counter: used to terminate when *all*