Commit acbf021a authored by Luca Boccassi's avatar Luca Boccassi

Problem: reaper_t initialization reorder

Solution: initialize class variable in the same order as they are
defined.
parent 779bed63
...@@ -35,8 +35,8 @@ ...@@ -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_);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment