From 67cd406fe90176871ca34fc1fa5c941cef0ae8d5 Mon Sep 17 00:00:00 2001 From: Joe Thornber Date: Tue, 22 Jan 2013 09:59:06 +0000 Subject: [PATCH] [transaction_manager_t] remove some duplication --- unit-tests/transaction_manager_t.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unit-tests/transaction_manager_t.cc b/unit-tests/transaction_manager_t.cc index c857f56..284c2cc 100644 --- a/unit-tests/transaction_manager_t.cc +++ b/unit-tests/transaction_manager_t.cc @@ -57,7 +57,7 @@ namespace { BOOST_AUTO_TEST_CASE(commit_succeeds) { 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)