Problem: reconnect_timer_id duplicated and essentially used only in base class

Solution: removed definitions and uses in subclasses
This commit is contained in:
Simon Giesecke
2019-01-31 10:06:59 -05:00
parent bed3b0cfb4
commit a766a4b67e
4 changed files with 6 additions and 19 deletions

View File

@@ -116,7 +116,6 @@ void zmq::tcp_connecter_t::out_event ()
void zmq::tcp_connecter_t::timer_event (int id_)
{
zmq_assert (id_ == reconnect_timer_id || id_ == connect_timer_id);
if (id_ == connect_timer_id) {
_connect_timer_started = false;
rm_handle ();