summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/cluster
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2008-03-25 05:04:10 +0000
committerAndrew Stitcher <astitcher@apache.org>2008-03-25 05:04:10 +0000
commitbb542cee9af73a016360aa2d00addfee0206cad8 (patch)
tree411230112aa4fecfedfb0cef8af57a9e6c797b76 /cpp/src/qpid/cluster
parentf7aafe13e5c2a8fe39fd89c7c4d53b0d9687f7ce (diff)
downloadqpid-python-bb542cee9af73a016360aa2d00addfee0206cad8.tar.gz
Fixed use of intrusive_ptr in code that was missed
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@640702 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/cluster')
-rw-r--r--cpp/src/qpid/cluster/Cluster.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/cpp/src/qpid/cluster/Cluster.h b/cpp/src/qpid/cluster/Cluster.h
index 733db8003d..1b0c1b1689 100644
--- a/cpp/src/qpid/cluster/Cluster.h
+++ b/cpp/src/qpid/cluster/Cluster.h
@@ -31,6 +31,7 @@
#include <boost/optional.hpp>
#include <boost/function.hpp>
+#include <boost/intrusive_ptr.hpp>
#include <map>
#include <vector>
@@ -62,7 +63,7 @@ class Cluster : private sys::Runnable, private Cpg::Handler
virtual ~Cluster();
// FIXME aconway 2008-01-29:
- intrusive_ptr<broker::PreviewSessionManager::Observer> getObserver() { return observer; }
+ boost::intrusive_ptr<broker::PreviewSessionManager::Observer> getObserver() { return observer; }
/** Get the current cluster membership. */
MemberList getMembers() const;
@@ -116,7 +117,7 @@ class Cluster : private sys::Runnable, private Cpg::Handler
MemberMap members;
sys::Thread dispatcher;
boost::function<void()> callback;
- intrusive_ptr<broker::PreviewSessionManager::Observer> observer;
+ boost::intrusive_ptr<broker::PreviewSessionManager::Observer> observer;
friend std::ostream& operator <<(std::ostream&, const Cluster&);
friend std::ostream& operator <<(std::ostream&, const MemberMap::value_type&);