mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-19 08:46:44 +01:00
Problem: can't statically initialized pthread_t
Solution: remove statc initialization to NULL of thread.hpp pthread_t descriptor. There is no portable way to statically initialize a pthread_t variable.
This commit is contained in:
parent
cf309a4e8c
commit
14054d28ed
@ -57,7 +57,6 @@ namespace zmq
|
||||
inline thread_t ()
|
||||
: tfn(nullptr)
|
||||
, arg(nullptr)
|
||||
, descriptor(NULL)
|
||||
{
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user