reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
152 if (PrevLeaf || NextLeaf) 173 const RopePieceBTreeLeaf *getNextLeafInOrder() const { return NextLeaf; } 176 assert(!PrevLeaf && !NextLeaf && "Already in ordering"); 178 NextLeaf = Node->NextLeaf; 178 NextLeaf = Node->NextLeaf; 179 if (NextLeaf) 180 NextLeaf->PrevLeaf = &NextLeaf; 180 NextLeaf->PrevLeaf = &NextLeaf; 181 PrevLeaf = &Node->NextLeaf; 182 Node->NextLeaf = this; 187 *PrevLeaf = NextLeaf; 188 if (NextLeaf) 189 NextLeaf->PrevLeaf = PrevLeaf; 190 } else if (NextLeaf) { 191 NextLeaf->PrevLeaf = nullptr;