0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-28 07:58:14 +08:00

Problem: reaper_t initialization reorder

Solution: initialize class variable in the same order as they are
defined.
This commit is contained in:
Luca Boccassi 2016-02-21 23:39:09 +00:00
parent 779bed6315
commit acbf021a7c

View File

@ -35,8 +35,8 @@
zmq::reaper_t::reaper_t (class ctx_t *ctx_, uint32_t tid_) :
object_t (ctx_, tid_),
sockets (0),
mailbox_handle(NULL),
sockets (0),
terminating (false)
{
poller = new (std::nothrow) poller_t (*ctx_);