From fd69619118c808b2c30af3dbb4a9882f192237b3 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Tue, 7 Nov 2006 16:58:31 +0000 Subject: 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 --- cpp/test/unit/qpid/broker/TxAckTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/test/unit/qpid/broker/TxAckTest.cpp') 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 begin(){ return std::auto_ptr(); } void commit(TransactionContext*){} void abort(TransactionContext*){} ~TestMessageStore(){} -- cgit v1.2.1