Commit 2f40d216 authored by Simon Giesecke's avatar Simon Giesecke

Problem: access to moved object

Solution: use move target instead
parent 74078029
...@@ -136,7 +136,7 @@ zmq::socks_request_t::socks_request_t (uint8_t command_, ...@@ -136,7 +136,7 @@ zmq::socks_request_t::socks_request_t (uint8_t command_,
hostname (ZMQ_MOVE (hostname_)), hostname (ZMQ_MOVE (hostname_)),
port (port_) port (port_)
{ {
zmq_assert (hostname_.size () <= UINT8_MAX); zmq_assert (hostname.size () <= UINT8_MAX);
} }
zmq::socks_request_encoder_t::socks_request_encoder_t () : zmq::socks_request_encoder_t::socks_request_encoder_t () :
......
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