diff options
| author | Gordon Sim <gsim@apache.org> | 2006-11-07 16:58:31 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2006-11-07 16:58:31 +0000 |
| commit | fd69619118c808b2c30af3dbb4a9882f192237b3 (patch) | |
| tree | 21e6fd2171eab3a028ff8c9bbb847a24b6410536 /cpp/test/unit/qpid/broker/TxAckTest.cpp | |
| parent | 0b03d292bad662cf4e65017bf944937b54b6933d (diff) | |
| download | qpid-python-fd69619118c808b2c30af3dbb4a9882f192237b3.tar.gz | |
Modified TransactionalStore to return the txn ctxt as an auto_ptr to make ownership more obvious.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@472166 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/test/unit/qpid/broker/TxAckTest.cpp')
| -rw-r--r-- | cpp/test/unit/qpid/broker/TxAckTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/test/unit/qpid/broker/TxAckTest.cpp b/cpp/test/unit/qpid/broker/TxAckTest.cpp index a619809b97..b6f8fbc1a1 100644 --- a/cpp/test/unit/qpid/broker/TxAckTest.cpp +++ b/cpp/test/unit/qpid/broker/TxAckTest.cpp @@ -48,7 +48,7 @@ class TxAckTest : public CppUnit::TestCase void enqueue(TransactionContext*, Message::shared_ptr&, const Queue&, const string * const){} void committed(const string * const){} void aborted(const string * const){} - TransactionContext* begin(){ return 0; } + std::auto_ptr<TransactionContext> begin(){ return std::auto_ptr<TransactionContext>(); } void commit(TransactionContext*){} void abort(TransactionContext*){} ~TestMessageStore(){} |
