mirror of
https://github.com/zeromq/libzmq.git
synced 2025-11-07 22:40:55 +01:00
Problem: reaper_t initialization reorder
Solution: initialize class variable in the same order as they are defined.
This commit is contained in:
@@ -35,8 +35,8 @@
|
|||||||
|
|
||||||
zmq::reaper_t::reaper_t (class ctx_t *ctx_, uint32_t tid_) :
|
zmq::reaper_t::reaper_t (class ctx_t *ctx_, uint32_t tid_) :
|
||||||
object_t (ctx_, tid_),
|
object_t (ctx_, tid_),
|
||||||
sockets (0),
|
|
||||||
mailbox_handle(NULL),
|
mailbox_handle(NULL),
|
||||||
|
sockets (0),
|
||||||
terminating (false)
|
terminating (false)
|
||||||
{
|
{
|
||||||
poller = new (std::nothrow) poller_t (*ctx_);
|
poller = new (std::nothrow) poller_t (*ctx_);
|
||||||
|
|||||||
Reference in New Issue
Block a user