| 43 | private: |
| 44 | |
| 45 | static void destructor(void *x) |
| 46 | { |
| 47 | T* obj = static_cast<T*>(x); |
| 48 | typedef char T_must_be_complete_type[sizeof(T) == 0 ? -1 : 1]; |
| 49 | T_must_be_complete_type dummy; (void) dummy; |
| 50 | delete obj; |
| 51 | } |
| 52 | |
| 53 | private: |
| 54 | pthread_key_t pkey_; |
nothing calls this directly
no outgoing calls
no test coverage detected