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:
Luca Boccassi 2016-02-21 23:26:01 +00:00
parent cf309a4e8c
commit 14054d28ed

View File

@ -57,7 +57,6 @@ namespace zmq
inline thread_t ()
: tfn(nullptr)
, arg(nullptr)
, descriptor(NULL)
{
}