| 170 | } |
| 171 | |
| 172 | void ActionManager::removeAllActionsFromTarget(Node* target) |
| 173 | { |
| 174 | // explicit null handling |
| 175 | if (target == nullptr) |
| 176 | { |
| 177 | return; |
| 178 | } |
| 179 | |
| 180 | auto actionIt = _targets.find(target); |
| 181 | if (actionIt != _targets.end()) |
| 182 | removeTargetActionHandle(actionIt); |
| 183 | } |
| 184 | |
| 185 | void ActionManager::removeTargetActionHandle(std::unordered_map<Node*, ActionHandle>::iterator& actionIt) |
| 186 | { |
no test coverage detected