summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormalosek <malosek@fastmq.com>2009-09-15 09:43:42 +0200
committermalosek <malosek@fastmq.com>2009-09-15 09:43:42 +0200
commitbdf22e9c2fe82366283f4edc02fd59c37fdb2c4b (patch)
treee520b7e09d11e273a90bb466135b1902559087fa /src
parent1a4d6f91194c52795808baa07dcd61a20ff599be (diff)
deleted useles iostream include from socket_base.cpp
Diffstat (limited to 'src')
-rw-r--r--src/socket_base.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/socket_base.cpp b/src/socket_base.cpp
index 9412d67..99e8ab1 100644
--- a/src/socket_base.cpp
+++ b/src/socket_base.cpp
@@ -17,8 +17,6 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <iostream>
-
#include <string>
#include <algorithm>
@@ -254,7 +252,7 @@ int zmq::socket_base_t::connect (const char *addr_)
#if defined ZMQ_HAVE_OPENPGM
if (addr_type == "pgm") {
-
+
switch (type) {
case ZMQ_PUB:
{
@@ -267,7 +265,7 @@ int zmq::socket_base_t::connect (const char *addr_)
delete pgm_sender;
return -1;
}
-
+
// Reserve a sequence number for following 'attach' command.
session->inc_seqnum ();
send_attach (session, pgm_sender);