@brief Unregisters single entry mapped to specified unique key
| 1470 | |
| 1471 | /// @brief Unregisters single entry mapped to specified unique key |
| 1472 | void unregister(const T_Key& uniqKey) { |
| 1473 | T_Ptr* existing = get(uniqKey); |
| 1474 | if (existing != nullptr) { |
| 1475 | this->list().erase(uniqKey); |
| 1476 | base::utils::safeDelete(existing); |
| 1477 | } |
| 1478 | } |
| 1479 | |
| 1480 | /// @brief Gets pointer from repository. If none found, nullptr is returned. |
| 1481 | T_Ptr* get(const T_Key& uniqKey) { |
nothing calls this directly
no test coverage detected