MCPcopy Create free account
hub / github.com/dmlc/dmlc-core / ~ThreadLocalStore

Method ~ThreadLocalStore

include/dmlc/thread_local.h:58–62  ·  view source on GitHub ↗

! \brief destructor */

Source from the content-addressed store, hash-verified

56 ThreadLocalStore() {}
57 /*! \brief destructor */
58 ~ThreadLocalStore() {
59 for (size_t i = 0; i < data_.size(); ++i) {
60 delete data_[i];
61 }
62 }
63 /*! \return singleton of the store */
64 static ThreadLocalStore<T> *Singleton() {
65 static ThreadLocalStore<T> inst;

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected