Add const qualifier to register_endpoint param

This commit is contained in:
Martin Hurton
2014-05-23 10:53:58 +02:00
parent 99dba23dc7
commit dd2be381ad
5 changed files with 8 additions and 5 deletions

View File

@@ -99,7 +99,7 @@ namespace zmq
zmq::object_t *get_reaper ();
// Management of inproc endpoints.
int register_endpoint (const char *addr_, endpoint_t &endpoint_);
int register_endpoint (const char *addr_, const endpoint_t &endpoint_);
void unregister_endpoints (zmq::socket_base_t *socket_);
endpoint_t find_endpoint (const char *addr_);
void pend_connection (const std::string &addr_,