Commit 779bed63 authored by Luca Boccassi's avatar Luca Boccassi

Problem: encoder_base_t initialization reorder

Solution: initialize class variable in the same order as they are
defined.
parent de46fc6a
......@@ -57,11 +57,11 @@ namespace zmq
public:
inline encoder_base_t (size_t bufsize_) :
bufsize (bufsize_),
write_pos(0),
to_write(0),
next(nullptr),
new_msg_flag(false),
bufsize (bufsize_),
in_progress (NULL)
{
buf = (unsigned char*) malloc (bufsize_);
......
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