| 48 | class ThreadJoiner { |
| 49 | public: |
| 50 | explicit ThreadJoiner(std::shared_ptr<std::thread> thread) |
| 51 | : thread_(std::move(thread)) {} |
| 52 | |
| 53 | ~ThreadJoiner() { |
| 54 | if (thread_->joinable()) { |
nothing calls this directly
no outgoing calls
no test coverage detected