| 277 | } |
| 278 | template<typename T> |
| 279 | T *ThreadLocalNoCheck<T>::getCheck() const { |
| 280 | if (m_node.m_p == nullptr) { |
| 281 | const_cast<ThreadLocalNoCheck<T>*>(this)->create(); |
| 282 | } |
| 283 | return m_node.m_p; |
| 284 | } |
| 285 | |
| 286 | |
| 287 | /////////////////////////////////////////////////////////////////////////////// |
no test coverage detected