mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-13 10:52:56 +01:00
Problem: access to moved object
Solution: use move target instead
This commit is contained in:
parent
740780293a
commit
2f40d21618
@ -136,7 +136,7 @@ zmq::socks_request_t::socks_request_t (uint8_t command_,
|
||||
hostname (ZMQ_MOVE (hostname_)),
|
||||
port (port_)
|
||||
{
|
||||
zmq_assert (hostname_.size () <= UINT8_MAX);
|
||||
zmq_assert (hostname.size () <= UINT8_MAX);
|
||||
}
|
||||
|
||||
zmq::socks_request_encoder_t::socks_request_encoder_t () :
|
||||
|
Loading…
Reference in New Issue
Block a user