diff options
author | Gordon Sim <gsim@apache.org> | 2006-12-11 10:44:03 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2006-12-11 10:44:03 +0000 |
commit | f71a9c37caec4b1282f362ef4276bac740e28d8d (patch) | |
tree | eb71bd02eb1fa2e1fbe85b2658990a9e95cf4795 /cpp/lib/broker/BrokerChannel.cpp | |
parent | a52120056649103af256f1f34b5bc574582a7d96 (diff) | |
download | qpid-python-f71a9c37caec4b1282f362ef4276bac740e28d8d.tar.gz |
Allow xid to be associated with publication and acknowledgements.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@485594 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/lib/broker/BrokerChannel.cpp')
-rw-r--r-- | cpp/lib/broker/BrokerChannel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/lib/broker/BrokerChannel.cpp b/cpp/lib/broker/BrokerChannel.cpp index e5b8336b25..8805b72774 100644 --- a/cpp/lib/broker/BrokerChannel.cpp +++ b/cpp/lib/broker/BrokerChannel.cpp @@ -204,7 +204,7 @@ void Channel::ack(u_int64_t deliveryTag, bool multiple){ throw InvalidAckException(); }else if(multiple){ ack_iterator end = ++i; - for_each(unacked.begin(), end, bind2nd(mem_fun_ref(&DeliveryRecord::discard), static_cast<qpid::broker::TransactionContext*>(0))); + for_each(unacked.begin(), end, mem_fun_ref(&DeliveryRecord::discard)); unacked.erase(unacked.begin(), end); //recalculate the prefetch: |