diff --git a/implementations/onblocks/BlobStoreOnBlocks.cpp b/implementations/onblocks/BlobStoreOnBlocks.cpp index 4048314d..aaa55fbb 100644 --- a/implementations/onblocks/BlobStoreOnBlocks.cpp +++ b/implementations/onblocks/BlobStoreOnBlocks.cpp @@ -3,6 +3,7 @@ #include "datatreestore/DataTreeStore.h" #include "datatreestore/DataTree.h" #include "BlobStoreOnBlocks.h" +#include #include "BlobOnBlocks.h" #include @@ -11,6 +12,7 @@ using std::unique_ptr; using std::make_unique; using blockstore::BlockStore; +using blockstore::synchronized::SynchronizedBlockStore; using blockstore::Key; using cpputils::dynamic_pointer_move; @@ -21,7 +23,7 @@ using datanodestore::DataNodeStore; using datatreestore::DataTreeStore; BlobStoreOnBlocks::BlobStoreOnBlocks(unique_ptr blockStore, uint32_t blocksizeBytes) -: _dataTreeStore(make_unique(make_unique(std::move(blockStore), blocksizeBytes))) { +: _dataTreeStore(make_unique(make_unique(make_unique(std::move(blockStore)), blocksizeBytes))) { } BlobStoreOnBlocks::~BlobStoreOnBlocks() {