| 191 | template<typename T> |
| 192 | struct ThreadLocal { |
| 193 | T *get() const { |
| 194 | if (m_node.m_p == nullptr) { |
| 195 | const_cast<ThreadLocal<T>*>(this)->create(); |
| 196 | } |
| 197 | return m_node.m_p; |
| 198 | } |
| 199 | |
| 200 | NEVER_INLINE void create(); |
| 201 |
nothing calls this directly
no test coverage detected