diff options
| author | Gordon Sim <gsim@apache.org> | 2007-03-30 15:50:07 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2007-03-30 15:50:07 +0000 |
| commit | 72bca07ee53fb9476f268133f244d55d8f53d3b9 (patch) | |
| tree | 6e8400200b22188899144a025ecb1a6c5922cc7b /qpid/cpp/lib/broker/TxAck.cpp | |
| parent | 61c7761f005dacfc5938a4d4d25b7120a8e21620 (diff) | |
| download | qpid-python-72bca07ee53fb9476f268133f244d55d8f53d3b9.tar.gz | |
Refactored the MessageStore interface to restrict visibility of broker core from store implementations.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@524139 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/lib/broker/TxAck.cpp')
| -rw-r--r-- | qpid/cpp/lib/broker/TxAck.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/qpid/cpp/lib/broker/TxAck.cpp b/qpid/cpp/lib/broker/TxAck.cpp index b5211158f3..a2f3283f91 100644 --- a/qpid/cpp/lib/broker/TxAck.cpp +++ b/qpid/cpp/lib/broker/TxAck.cpp @@ -25,8 +25,8 @@ using std::bind2nd; using std::mem_fun_ref; using namespace qpid::broker; -TxAck::TxAck(AccumulatedAck& _acked, std::list<DeliveryRecord>& _unacked, const std::string* const _xid) : - acked(_acked), unacked(_unacked), xid(_xid){ +TxAck::TxAck(AccumulatedAck& _acked, std::list<DeliveryRecord>& _unacked) : + acked(_acked), unacked(_unacked){ } @@ -35,7 +35,7 @@ bool TxAck::prepare(TransactionContext* ctxt) throw(){ //dequeue all acked messages from their queues for (ack_iterator i = unacked.begin(); i != unacked.end(); i++) { if (i->coveredBy(&acked)) { - i->discard(ctxt, xid); + i->discard(ctxt); } } return true; |
