summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2007-09-28 15:06:12 +0000
committerGordon Sim <gsim@apache.org>2007-09-28 15:06:12 +0000
commitb46c7467a0422e16f63f6b7d7fabb8d1ca9a2cff (patch)
treeed896b93d4ebd1c7357fee7569c37564d913f999 /cpp/src/qpid/broker
parent816b56837d862980e9086fe8ed02b84ca764eb1f (diff)
downloadqpid-python-b46c7467a0422e16f63f6b7d7fabb8d1ca9a2cff.tar.gz
Minor refactoring of execution layer
Set sync bit when session is in sync mode git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@580380 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker')
-rw-r--r--cpp/src/qpid/broker/SemanticHandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/broker/SemanticHandler.cpp b/cpp/src/qpid/broker/SemanticHandler.cpp
index 048c73c4b0..ae5810684d 100644
--- a/cpp/src/qpid/broker/SemanticHandler.cpp
+++ b/cpp/src/qpid/broker/SemanticHandler.cpp
@@ -85,7 +85,7 @@ void SemanticHandler::complete(uint32_t cumulative, const SequenceNumberSet& ran
throw ConnectionException(530, "Received odd number of elements in ranged mark");
} else {
for (SequenceNumberSet::const_iterator i = range.begin(); i != range.end(); i++) {
- state.ackRange((uint64_t) i->getValue(), (uint64_t) (++i)->getValue());
+ state.ackRange(*i, *(++i));
}
}
}