| 349 | } |
| 350 | |
| 351 | void NodeTree::removeNode(NodeID nid) |
| 352 | { |
| 353 | |
| 354 | const auto pid = getParent(nid); |
| 355 | if (pid == NodeID::NoNode) |
| 356 | return; |
| 357 | |
| 358 | const auto alt = getAlternative(nid); |
| 359 | /// should this really remove the node? |
| 360 | structure_->removeChild(pid, alt); |
| 361 | } |
| 362 | |
| 363 | void NodeTree::db_initialize(int size) |
| 364 | { |
no test coverage detected