You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ac...@apache.org on 2008/05/20 21:48:11 UTC

svn commit: r658403 - /incubator/qpid/trunk/qpid/cpp/src/qpid/broker/SessionState.cpp

Author: aconway
Date: Tue May 20 12:48:11 2008
New Revision: 658403

URL: http://svn.apache.org/viewvc?rev=658403&view=rev
Log:
Fix build error.

Modified:
    incubator/qpid/trunk/qpid/cpp/src/qpid/broker/SessionState.cpp

Modified: incubator/qpid/trunk/qpid/cpp/src/qpid/broker/SessionState.cpp
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/cpp/src/qpid/broker/SessionState.cpp?rev=658403&r1=658402&r2=658403&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/cpp/src/qpid/broker/SessionState.cpp (original)
+++ incubator/qpid/trunk/qpid/cpp/src/qpid/broker/SessionState.cpp Tue May 20 12:48:11 2008
@@ -267,7 +267,8 @@
 
 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() {