diff options
| author | Alan Conway <aconway@apache.org> | 2013-11-20 20:04:55 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2013-11-20 20:04:55 +0000 |
| commit | d5b6e790dd5dbc79b6cf4433b40b665bcad33a15 (patch) | |
| tree | 473a5cceb8686f1b6bd57245d795437a0dcfbdec /qpid/cpp/src | |
| parent | d33073b26b692835e0f43d2e02f2224dd8f30d70 (diff) | |
| download | qpid-python-d5b6e790dd5dbc79b6cf4433b40b665bcad33a15.tar.gz | |
NO-JIRA: HA remove use of make_shared, not available in RHEL5 boost.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1543922 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
| -rw-r--r-- | qpid/cpp/src/qpid/ha/QueueSnapshots.h | 3 |
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) { |
