Fix test cases

This commit is contained in:
Sebastian Messmer 2015-06-26 15:57:21 +02:00
parent db2b39d4ab
commit 3826bab481

View File

@ -10,11 +10,12 @@ using blockstore::testfake::FakeBlockStore;
using std::unique_ptr; using std::unique_ptr;
using std::make_unique; using std::make_unique;
using cpputils::make_unique_ref;
class ParallelAccessBlockStoreTestFixture: public BlockStoreTestFixture { class ParallelAccessBlockStoreTestFixture: public BlockStoreTestFixture {
public: public:
unique_ptr<BlockStore> createBlockStore() override { unique_ptr<BlockStore> createBlockStore() override {
return make_unique<ParallelAccessBlockStore>(make_unique<FakeBlockStore>()); return make_unique<ParallelAccessBlockStore>(make_unique_ref<FakeBlockStore>());
} }
}; };