We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9edf86 commit adf3c33Copy full SHA for adf3c33
1 file changed
fc_btree.h
@@ -346,7 +346,9 @@ requires(Fanout >= 2 && FanoutLeaf >= 2) class BTreeBase {
346
}
347
348
bool verify() noexcept {
349
- return !node_->parent_ || (index_ < node_->nkeys());
+ // Uncomment this line for testing
350
+ // assert(!node_->parent_ || (index_ < node_->nkeys()));
351
+ return true;
352
353
354
BTreeIterator &operator++() noexcept {
@@ -525,7 +527,7 @@ requires(Fanout >= 2 && FanoutLeaf >= 2) class BTreeBase {
525
527
526
528
[[nodiscard]] bool verify() const {
529
// Uncomment these lines for testing
-
530
+
531
// assert(begin_ == const_iterator_type(leftmost_leaf(root_.get()), 0));
532
// assert(verify(root_.get()));
533
return true;
0 commit comments