summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2008-05-20 19:48:11 +0000
committerAlan Conway <aconway@apache.org>2008-05-20 19:48:11 +0000
commit8be60c7872b7eb55bf1868bb43a4238806c23d69 (patch)
treedf26c4cba981a2d26eeadb3b32ab4df161074b89 /cpp/src
parent0333573627c831142aa251bfb1cabdb1e2bf438e (diff)
downloadqpid-python-8be60c7872b7eb55bf1868bb43a4238806c23d69.tar.gz
Fix build error.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@658403 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/qpid/broker/SessionState.cpp3
1 files changed, 2 insertions, 1 deletions
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() {