summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker/TxAccept.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/broker/TxAccept.cpp')
-rw-r--r--cpp/src/qpid/broker/TxAccept.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/qpid/broker/TxAccept.cpp b/cpp/src/qpid/broker/TxAccept.cpp
index 73f365d509..ca128b1975 100644
--- a/cpp/src/qpid/broker/TxAccept.cpp
+++ b/cpp/src/qpid/broker/TxAccept.cpp
@@ -58,8 +58,8 @@ void TxAccept::RangeOps::commit()
std::for_each(ranges.begin(), ranges.end(), bind(&RangeOp::commit, _1));
//now remove if isRedundant():
if (!ranges.empty()) {
- ack_iterator i = ranges.front().range.start;
- ack_iterator end = ranges.back().range.end;
+ DeliveryRecords::iterator i = ranges.front().range.start;
+ DeliveryRecords::iterator end = ranges.back().range.end;
while (i != end) {
if (i->isRedundant()) {
i = unacked.erase(i);