summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker/AccumulatedAck.cpp
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2006-10-31 13:10:17 +0000
committerGordon Sim <gsim@apache.org>2006-10-31 13:10:17 +0000
commit6a793a2ad19b692e9fb5a053607be5a369ae36b3 (patch)
tree831fc829d8d28bf4226e046e4ae9e09186e4feee /cpp/src/qpid/broker/AccumulatedAck.cpp
parent5eb36a210ab9e2bed9d06fc0e5a92ffad09cc66a (diff)
downloadqpid-python-6a793a2ad19b692e9fb5a053607be5a369ae36b3.tar.gz
Some additional unit tests.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@469471 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/AccumulatedAck.cpp')
-rw-r--r--cpp/src/qpid/broker/AccumulatedAck.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/broker/AccumulatedAck.cpp b/cpp/src/qpid/broker/AccumulatedAck.cpp
index 86e1a5e786..060e940309 100644
--- a/cpp/src/qpid/broker/AccumulatedAck.cpp
+++ b/cpp/src/qpid/broker/AccumulatedAck.cpp
@@ -42,5 +42,5 @@ void AccumulatedAck::clear(){
}
bool AccumulatedAck::covers(u_int64_t tag) const{
- return tag < range || find(individual.begin(), individual.end(), tag) != individual.end();
+ return tag <= range || find(individual.begin(), individual.end(), tag) != individual.end();
}