From 33d8343d134a391fa7d0a338fafad1a22ff58dc3 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Fri, 30 Mar 2007 15:50:07 +0000 Subject: Refactored the MessageStore interface to restrict visibility of broker core from store implementations. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@524139 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/lib/broker/BrokerChannel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/lib/broker/BrokerChannel.cpp') diff --git a/cpp/lib/broker/BrokerChannel.cpp b/cpp/lib/broker/BrokerChannel.cpp index 5673a2c42a..5897914f26 100644 --- a/cpp/lib/broker/BrokerChannel.cpp +++ b/cpp/lib/broker/BrokerChannel.cpp @@ -264,7 +264,7 @@ void Channel::ack(uint64_t firstTag, uint64_t lastTag){ throw ConnectionException(530, "Received ack for unrecognised delivery tag"); }else if(i!=j){ ack_iterator end = ++i; - for_each(j, end, mem_fun_ref(&DeliveryRecord::discard)); + for_each(j, end, bind2nd(mem_fun_ref(&DeliveryRecord::discard), 0)); unacked.erase(unacked.begin(), end); //recalculate the prefetch: -- cgit v1.2.1