[transaction_manager_t] remove some duplication

This commit is contained in:
Joe Thornber 2013-01-22 09:59:06 +00:00
parent 23b48f0c54
commit 67cd406fe9

View File

@ -57,7 +57,7 @@ namespace {
BOOST_AUTO_TEST_CASE(commit_succeeds) BOOST_AUTO_TEST_CASE(commit_succeeds)
{ {
transaction_manager::ptr tm = create_tm(); transaction_manager::ptr tm = create_tm();
tm->begin(0, block_manager<>::validator::ptr(new block_manager<>::noop_validator)); tm->begin(0, noop_validator());
} }
BOOST_AUTO_TEST_CASE(shadowing) BOOST_AUTO_TEST_CASE(shadowing)