From 9b4f8c20303f16594a3178889efbf03f04ae9f36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Me=C3=9Fmer?= Date: Thu, 2 Apr 2015 03:00:06 -0400 Subject: [PATCH] Adapt to the blockstore change (SynchronizedBlockStore was renamed to CachingBlockStore) --- implementations/onblocks/BlobStoreOnBlocks.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/implementations/onblocks/BlobStoreOnBlocks.cpp b/implementations/onblocks/BlobStoreOnBlocks.cpp index aaa55fbb..b3465bf8 100644 --- a/implementations/onblocks/BlobStoreOnBlocks.cpp +++ b/implementations/onblocks/BlobStoreOnBlocks.cpp @@ -1,10 +1,9 @@ +#include #include "datanodestore/DataLeafNode.h" #include "datanodestore/DataNodeStore.h" #include "datatreestore/DataTreeStore.h" #include "datatreestore/DataTree.h" #include "BlobStoreOnBlocks.h" -#include - #include "BlobOnBlocks.h" #include @@ -12,7 +11,7 @@ using std::unique_ptr; using std::make_unique; using blockstore::BlockStore; -using blockstore::synchronized::SynchronizedBlockStore; +using blockstore::caching::CachingBlockStore; using blockstore::Key; using cpputils::dynamic_pointer_move; @@ -23,7 +22,7 @@ using datanodestore::DataNodeStore; using datatreestore::DataTreeStore; BlobStoreOnBlocks::BlobStoreOnBlocks(unique_ptr blockStore, uint32_t blocksizeBytes) -: _dataTreeStore(make_unique(make_unique(make_unique(std::move(blockStore)), blocksizeBytes))) { +: _dataTreeStore(make_unique(make_unique(make_unique(std::move(blockStore)), blocksizeBytes))) { } BlobStoreOnBlocks::~BlobStoreOnBlocks() {