mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-09 15:26:04 +00:00
Problem: socket_poller_t initialization reorder
Solution: initialize class variable in the same order as they are defined.
This commit is contained in:
parent
c84a52b11e
commit
7187169619
@ -34,14 +34,14 @@
|
|||||||
zmq::socket_poller_t::socket_poller_t () :
|
zmq::socket_poller_t::socket_poller_t () :
|
||||||
tag (0xCAFEBABE),
|
tag (0xCAFEBABE),
|
||||||
need_rebuild (true),
|
need_rebuild (true),
|
||||||
poll_size(0),
|
use_signaler (false),
|
||||||
#if defined ZMQ_POLL_BASED_ON_SELECT
|
poll_size(0)
|
||||||
maxfd(0),
|
|
||||||
#endif
|
|
||||||
use_signaler (false)
|
|
||||||
#if defined ZMQ_POLL_BASED_ON_POLL
|
#if defined ZMQ_POLL_BASED_ON_POLL
|
||||||
,
|
,
|
||||||
pollfds (NULL)
|
pollfds (NULL)
|
||||||
|
#elif defined ZMQ_POLL_BASED_ON_SELECT
|
||||||
|
,
|
||||||
|
maxfd(0)
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
#if defined ZMQ_POLL_BASED_ON_SELECT
|
#if defined ZMQ_POLL_BASED_ON_SELECT
|
||||||
|
Loading…
x
Reference in New Issue
Block a user