From deb1a2462a72edc626f1ea8cc53351228346a810 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Me=C3=9Fmer?= Date: Thu, 19 Mar 2015 11:16:50 +0100 Subject: [PATCH] BlobStore uses synchronized access to its BlockStore --- implementations/onblocks/BlobStoreOnBlocks.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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() {