| 1538 | |
| 1539 | protected: |
| 1540 | virtual void unregisterAll(void) ELPP_FINAL { |
| 1541 | if (!this->empty()) { |
| 1542 | for (auto&& curr : this->list()) { |
| 1543 | base::utils::safeDelete(curr); |
| 1544 | } |
| 1545 | this->list().clear(); |
| 1546 | } |
| 1547 | } |
| 1548 | |
| 1549 | virtual void unregister(T_Ptr*& ptr) ELPP_FINAL { |
| 1550 | if (ptr) { |
nothing calls this directly
no test coverage detected