0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-29 00:32:34 +08:00

Problem: socks_connecter_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:45:02 +00:00
parent a6e49860f5
commit 24b84081be

View File

@ -61,11 +61,11 @@ zmq::socks_connecter_t::socks_connecter_t (class io_thread_t *io_thread_,
proxy_addr (proxy_addr_),
status (unplugged),
s (retired_fd),
delayed_start (delayed_start_),
session (session_),
handle(NULL),
handle_valid(false),
delayed_start (delayed_start_),
timer_started(false),
session (session_),
current_reconnect_ivl (options.reconnect_ivl)
{
zmq_assert (addr);