mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-29 20:59:47 +01:00
Remove unnecessary extra test in pipe assertion - now we are terminating pipes we don't need to allow the case in which a pipe is rebound to the same sink
This commit is contained in:
@@ -83,7 +83,7 @@ void zmq::pipe_t::set_peer (pipe_t *peer_)
|
||||
void zmq::pipe_t::set_event_sink (i_pipe_events *sink_)
|
||||
{
|
||||
// Sink can be set once only.
|
||||
zmq_assert (!sink || sink_ == sink);
|
||||
zmq_assert (!sink);
|
||||
sink = sink_;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user