MCPcopy Create free account
hub / github.com/Xtra-Computing/thundersvm / unregisterAll

Method unregisterAll

include/thundersvm/util/log.h:1540–1547  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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) {

Callers

nothing calls this directly

Calls 3

safeDeleteFunction · 0.85
clearMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected