diff options
| author | Gordon Sim <gsim@apache.org> | 2007-12-07 10:41:53 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2007-12-07 10:41:53 +0000 |
| commit | 6e9c21e069e6bc5ddd3775020222bba3ba0369e1 (patch) | |
| tree | c2baafc1f59f53d34dba8ca4afebaba1585f9bf2 /qpid/cpp/src | |
| parent | a6372e467abba22a1a841de5102679cd3f6f8864 (diff) | |
| download | qpid-python-6e9c21e069e6bc5ddd3775020222bba3ba0369e1.tar.gz | |
Changed to use the get_pointer function for compatability with boost 1.33 and 1.34
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@602063 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
| -rw-r--r-- | qpid/cpp/src/qpid/broker/SemanticState.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/qpid/cpp/src/qpid/broker/SemanticState.cpp b/qpid/cpp/src/qpid/broker/SemanticState.cpp index 76775d03d5..cec0a21f67 100644 --- a/qpid/cpp/src/qpid/broker/SemanticState.cpp +++ b/qpid/cpp/src/qpid/broker/SemanticState.cpp @@ -33,6 +33,7 @@ #include "TxPublish.h" #include "qpid/framing/reply_exceptions.h" #include "qpid/log/Statement.h" +#include "qpid/ptr_map.h" #include <boost/bind.hpp> #include <boost/format.hpp> @@ -53,6 +54,7 @@ using std::bind2nd; using namespace qpid::broker; using namespace qpid::framing; using namespace qpid::sys; +using namespace qpid::ptr_map; SemanticState::SemanticState(DeliveryAdapter& da, SessionState& ss) : session(ss), @@ -71,7 +73,7 @@ SemanticState::SemanticState(DeliveryAdapter& da, SessionState& ss) SemanticState::~SemanticState() { //cancel all consumers for (ConsumerImplMap::iterator i = consumers.begin(); i != consumers.end(); i++) { - cancel(*i); + cancel(*get_pointer(i)); } if (dtxBuffer.get()) { @@ -418,7 +420,7 @@ void SemanticState::ack(DeliveryId first, DeliveryId last, bool cumulative) void SemanticState::requestDispatch() { for (ConsumerImplMap::iterator i = consumers.begin(); i != consumers.end(); i++) { - requestDispatch(*i); + requestDispatch(*get_pointer(i)); } } |
