Add asserts

This commit is contained in:
Sebastian Messmer 2016-07-14 12:58:42 +02:00
parent 0dbfdf3e2b
commit 0bb6b320d4

View File

@ -96,7 +96,7 @@ namespace blobstore {
_traverseExistingSubtree(childNode->get(), leavesPerChild, leavesPerChild, childOffset, true,
[] (uint32_t /*index*/, DataLeafNode* /*leaf*/) {ASSERT(false, "We don't actually traverse any leaves.");},
[] (uint32_t /*index*/) -> Data {ASSERT(false, "We don't actually traverse any leaves.");},
[] (DataInnerNode* /*node*/) {});
[] (DataInnerNode* /*node*/) {ASSERT(false, "We don't actually traverse any leaves.");});
}
// Traverse existing children