fix init failed

This commit is contained in:
tqcq 2023-12-28 14:27:08 +08:00
parent 34f14dc6bd
commit f15f564b37

View File

@ -19,7 +19,7 @@ GetTid()
class Thread::Impl {
public:
Impl(const ThreadFunc &func, const std::string &thread_name)
: thread_(nullptr),
: thread_(),
started_(false),
joined_(false),
thread_name_(thread_name),