diff options
Diffstat (limited to 'cpp/src/qpid/broker/DtxAck.cpp')
-rw-r--r-- | cpp/src/qpid/broker/DtxAck.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/qpid/broker/DtxAck.cpp b/cpp/src/qpid/broker/DtxAck.cpp index bc7d662afb..c32c699421 100644 --- a/cpp/src/qpid/broker/DtxAck.cpp +++ b/cpp/src/qpid/broker/DtxAck.cpp @@ -26,7 +26,7 @@ using std::bind2nd; using std::mem_fun_ref; using namespace qpid::broker; -DtxAck::DtxAck(const qpid::framing::SequenceSet& acked, std::list<DeliveryRecord>& unacked) +DtxAck::DtxAck(const qpid::framing::SequenceSet& acked, DeliveryRecords& unacked) { remove_copy_if(unacked.begin(), unacked.end(), inserter(pending, pending.end()), not1(bind2nd(mem_fun_ref(&DeliveryRecord::coveredBy), &acked))); @@ -36,7 +36,7 @@ bool DtxAck::prepare(TransactionContext* ctxt) throw() { try{ //record dequeue in the store - for (ack_iterator i = pending.begin(); i != pending.end(); i++) { + for (DeliveryRecords::iterator i = pending.begin(); i != pending.end(); i++) { i->dequeue(ctxt); } return true; |