| 454 | } |
| 455 | |
| 456 | void InotifyTree::InotifyNode::removeChild(std::string name) { |
| 457 | auto child = mChildren->find(name); |
| 458 | if (child != mChildren->end()) { |
| 459 | delete child->second; |
| 460 | child->second = NULL; |
| 461 | mChildren->erase(child); |
| 462 | } |
| 463 | } |
| 464 | |
| 465 | void InotifyTree::InotifyNode::renameChild(std::string oldName, std::string newName) { |
| 466 | auto child = mChildren->find(oldName); |
no outgoing calls
no test coverage detected