diff options
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/qpid/broker/SessionState.cpp | 3 |
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() { |