From 9fbdcc7940823634d82f51d2b124ccfbca6e9b17 Mon Sep 17 00:00:00 2001 From: malosek Date: Wed, 16 Sep 2009 10:35:23 +0200 Subject: removed reset method from zmq_decoder_t --- src/zmq_decoder.cpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/zmq_decoder.cpp') diff --git a/src/zmq_decoder.cpp b/src/zmq_decoder.cpp index ccaad0d..53811a1 100644 --- a/src/zmq_decoder.cpp +++ b/src/zmq_decoder.cpp @@ -36,16 +36,6 @@ zmq::zmq_decoder_t::~zmq_decoder_t () zmq_msg_close (&in_progress); } -void zmq::zmq_decoder_t::reset () -{ - // Free and reinit message buffer. - zmq_msg_close (&in_progress); - zmq_msg_init (&in_progress); - - // Restart the FSM. - next_step (tmpbuf, 1, &zmq_decoder_t::one_byte_size_ready); -} - void zmq::zmq_decoder_t::set_inout (i_inout *destination_) { destination = destination_; -- cgit v1.2.3