mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-27 19:10:22 +01:00
Add const qualifier to register_endpoint param
This commit is contained in:
@@ -137,7 +137,8 @@ void zmq::object_t::process_command (command_t &cmd_)
|
||||
}
|
||||
}
|
||||
|
||||
int zmq::object_t::register_endpoint (const char *addr_, endpoint_t &endpoint_)
|
||||
int zmq::object_t::register_endpoint (const char *addr_,
|
||||
const endpoint_t &endpoint_)
|
||||
{
|
||||
return ctx->register_endpoint (addr_, endpoint_);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user