summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2013-12-05 22:03:37 +0000
committerAlan Conway <aconway@apache.org>2013-12-05 22:03:37 +0000
commit70d46a4ecee1f658150ce2463c2fd308132ab7b8 (patch)
treeb147c636e54028afcea4cdbc0c4787c1413f99bd
parentda9a0f4e40899b18c7993256bb27f5f50bf874f7 (diff)
downloadqpid-python-70d46a4ecee1f658150ce2463c2fd308132ab7b8.tar.gz
NO-JIRA: HA remove use of make_shared, not available in RHEL5 boost.
From trunk r1543922 git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.26@1548316 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--qpid/cpp/src/qpid/ha/QueueSnapshots.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/qpid/cpp/src/qpid/ha/QueueSnapshots.h b/qpid/cpp/src/qpid/ha/QueueSnapshots.h
index e49fe5c7e7..8711f9234c 100644
--- a/qpid/cpp/src/qpid/ha/QueueSnapshots.h
+++ b/qpid/cpp/src/qpid/ha/QueueSnapshots.h
@@ -32,7 +32,6 @@
#include "qpid/sys/Mutex.h"
#include <boost/shared_ptr.hpp>
-#include <boost/make_shared.hpp>
namespace qpid {
namespace ha {
@@ -53,7 +52,7 @@ class QueueSnapshots : public broker::BrokerObserver
// BrokerObserver overrides.
void queueCreate(const boost::shared_ptr<broker::Queue>& q) {
- q->addObserver(boost::make_shared<QueueSnapshot>());
+ q->addObserver(boost::shared_ptr<QueueSnapshot>(new QueueSnapshot));
}
void queueDestroy(const boost::shared_ptr<broker::Queue>& q) {