diff options
Diffstat (limited to 'qpid/cpp/src/qpid/cluster/exp/Ticker.h')
-rw-r--r-- | qpid/cpp/src/qpid/cluster/exp/Ticker.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/qpid/cpp/src/qpid/cluster/exp/Ticker.h b/qpid/cpp/src/qpid/cluster/exp/Ticker.h index 0a8d508a70..6910b7a0be 100644 --- a/qpid/cpp/src/qpid/cluster/exp/Ticker.h +++ b/qpid/cpp/src/qpid/cluster/exp/Ticker.h @@ -53,18 +53,18 @@ namespace cluster { class Ticker : public sys::TimerTask { public: - struct Tickable : public RefCounted { + struct Tickable { virtual ~Tickable(); virtual void tick() = 0; }; Ticker(sys::Duration tick, sys::Timer&, boost::shared_ptr<sys::Poller>); - void add(boost::intrusive_ptr<Tickable>); - void remove(boost::intrusive_ptr<Tickable>); + void add(Tickable*); + void remove(Tickable*); private: - typedef std::vector<boost::intrusive_ptr<Tickable> > Tickables; + typedef std::vector<Tickable*> Tickables; void fire(); // Called in timer thread. void dispatch(sys::PollableCondition&); // Called in IO thread |