Activate ASSERT

This commit is contained in:
Sebastian Messmer 2015-10-05 03:46:39 +02:00
parent ca9f3fe2e6
commit 0d09501a38

View File

@ -53,7 +53,7 @@ void BlobOnBlocks::traverseLeaves(uint64_t beginByte, uint64_t sizeBytes, functi
func(indexOfFirstLeafByte, leaf, dataBegin, dataEnd-dataBegin);
});
if (writingOutside) {
//ASSERT(_datatree->numStoredBytes() == endByte, "Writing didn't grow by the correct number of bytes");
ASSERT(_datatree->numStoredBytes() == endByte, "Writing didn't grow by the correct number of bytes");
_sizeCache = endByte;
}
}