Don't use a shared_ptr where an auto_ptr will do.

This commit is contained in:
JoelKatz
2012-12-26 13:54:51 -08:00
parent 79d139e2ce
commit fa109a1aee
3 changed files with 12 additions and 12 deletions

View File

@@ -33,7 +33,7 @@ protected:
public:
typedef boost::shared_ptr<Transactor> pointer;
static Transactor::pointer makeTransactor(const SerializedTransaction& txn,TransactionEngineParams params, TransactionEngine* engine);
static std::auto_ptr<Transactor> makeTransactor(const SerializedTransaction& txn,TransactionEngineParams params, TransactionEngine* engine);
TER apply();
};