summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker/Channel.cpp
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2006-11-07 11:26:50 +0000
committerGordon Sim <gsim@apache.org>2006-11-07 11:26:50 +0000
commitc2a8f493b4d87c71dc04a432e686e2d9151a393f (patch)
tree1bb137e50aa711e6ead9e70e9117f04916b32b07 /cpp/src/qpid/broker/Channel.cpp
parente4ec69544d05f04c64b92d85905978495c1aee77 (diff)
downloadqpid-python-c2a8f493b4d87c71dc04a432e686e2d9151a393f.tar.gz
Made passing of transaction context in message store explicit (to avoid thread local storage in case this doesn't fit with new io design).
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@472067 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/Channel.cpp')
-rw-r--r--cpp/src/qpid/broker/Channel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/broker/Channel.cpp b/cpp/src/qpid/broker/Channel.cpp
index 45375a9fd3..967c5855fa 100644
--- a/cpp/src/qpid/broker/Channel.cpp
+++ b/cpp/src/qpid/broker/Channel.cpp
@@ -198,7 +198,7 @@ void Channel::ack(u_int64_t deliveryTag, bool multiple){
throw InvalidAckException();
}else if(multiple){
ack_iterator end = ++i;
- for_each(unacked.begin(), end, mem_fun_ref(&DeliveryRecord::discard));
+ for_each(unacked.begin(), end, bind2nd(mem_fun_ref(&DeliveryRecord::discard), 0));
unacked.erase(unacked.begin(), end);
//recalculate the prefetch: