BlobOnBlocks::size() works correctly

This commit is contained in:
Sebastian Messmer 2015-02-25 23:09:48 +01:00
parent b8cb2ad450
commit 61ec7dedb8

View File

@ -1,7 +1,6 @@
#include "BlobOnBlocks.h"
#include "datatreestore/DataTree.h"
#include <cassert>
using std::unique_ptr;
@ -19,8 +18,7 @@ BlobOnBlocks::~BlobOnBlocks() {
}
size_t BlobOnBlocks::size() const {
assert(false); //TODO Implement
//return _rootnode->numBytesInThisNode();
return _datatree->numStoredBytes();
}
void BlobOnBlocks::flush() const {