From 8be60c7872b7eb55bf1868bb43a4238806c23d69 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Tue, 20 May 2008 19:48:11 +0000 Subject: Fix build error. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@658403 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/broker/SessionState.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cpp/src') diff --git a/cpp/src/qpid/broker/SessionState.cpp b/cpp/src/qpid/broker/SessionState.cpp index c851162046..cb5ae01793 100644 --- a/cpp/src/qpid/broker/SessionState.cpp +++ b/cpp/src/qpid/broker/SessionState.cpp @@ -267,7 +267,8 @@ void SessionState::sendCompletion() { handler->sendCompletion(); } void SessionState::senderCompleted(const SequenceSet& commands) { qpid::SessionState::senderCompleted(commands); - commands.for_each(boost::bind(&SemanticState::completed, &semanticState, _1, _2)); + for (SequenceSet::RangeIterator i = commands.rangesBegin(); i != commands.rangesEnd(); i++) + semanticState.completed(i->first(), i->last()); } void SessionState::readyToSend() { -- cgit v1.2.1