summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/cluster/PollerDispatch.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/cluster/PollerDispatch.h')
-rw-r--r--cpp/src/qpid/cluster/PollerDispatch.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/cpp/src/qpid/cluster/PollerDispatch.h b/cpp/src/qpid/cluster/PollerDispatch.h
index 24b3496eb5..52137b72a8 100644
--- a/cpp/src/qpid/cluster/PollerDispatch.h
+++ b/cpp/src/qpid/cluster/PollerDispatch.h
@@ -37,6 +37,9 @@ class PollerDispatch {
public:
PollerDispatch(Cpg&, boost::shared_ptr<sys::Poller> poller,
boost::function<void()> onError) ;
+
+ ~PollerDispatch();
+
void start();
private:
@@ -47,7 +50,7 @@ class PollerDispatch {
Cpg& cpg;
boost::shared_ptr<sys::Poller> poller;
boost::function<void()> onError;
- sys::DispatchHandle dispatchHandle;
+ sys::DispatchHandleRef dispatchHandle;
};