summaryrefslogtreecommitdiff
path: root/cpp/src/broker/TxBuffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/broker/TxBuffer.h')
-rw-r--r--cpp/src/broker/TxBuffer.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/broker/TxBuffer.h b/cpp/src/broker/TxBuffer.h
index 61c0820c7d..86ee8945b5 100644
--- a/cpp/src/broker/TxBuffer.h
+++ b/cpp/src/broker/TxBuffer.h
@@ -59,8 +59,8 @@
namespace qpid {
namespace broker {
class TxBuffer{
- typedef std::vector<TxOp*>::iterator op_iterator;
- std::vector<TxOp*> ops;
+ typedef std::vector<TxOp::shared_ptr>::iterator op_iterator;
+ std::vector<TxOp::shared_ptr> ops;
public:
/**
* Requests that all ops are prepared. This should
@@ -98,7 +98,7 @@ namespace qpid {
/**
* Adds an operation to the transaction.
*/
- void enlist(TxOp* const op);
+ void enlist(TxOp::shared_ptr op);
};
}
}