BlobOnBlocks::size() works correctly
This commit is contained in:
parent
b8cb2ad450
commit
61ec7dedb8
@ -1,7 +1,6 @@
|
|||||||
#include "BlobOnBlocks.h"
|
#include "BlobOnBlocks.h"
|
||||||
|
|
||||||
#include "datatreestore/DataTree.h"
|
#include "datatreestore/DataTree.h"
|
||||||
#include <cassert>
|
|
||||||
|
|
||||||
using std::unique_ptr;
|
using std::unique_ptr;
|
||||||
|
|
||||||
@ -19,8 +18,7 @@ BlobOnBlocks::~BlobOnBlocks() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
size_t BlobOnBlocks::size() const {
|
size_t BlobOnBlocks::size() const {
|
||||||
assert(false); //TODO Implement
|
return _datatree->numStoredBytes();
|
||||||
//return _rootnode->numBytesInThisNode();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void BlobOnBlocks::flush() const {
|
void BlobOnBlocks::flush() const {
|
||||||
|
Loading…
Reference in New Issue
Block a user