mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-27 11:06:52 +01:00
Problem: literals protocol names used at various places
Solution: introduced named constants
This commit is contained in:
committed by
Simon Giesecke
parent
bd76926f5b
commit
0179b7577a
@@ -67,7 +67,7 @@ zmq::ipc_connecter_t::ipc_connecter_t (class io_thread_t *io_thread_,
|
||||
current_reconnect_ivl (options.reconnect_ivl)
|
||||
{
|
||||
zmq_assert (addr);
|
||||
zmq_assert (addr->protocol == "ipc");
|
||||
zmq_assert (addr->protocol == protocol_name::ipc);
|
||||
addr->to_string (endpoint);
|
||||
socket = session->get_socket ();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user