From 67ca7dcbe6b072b74a112ce4df4529cda82c0f13 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Fri, 4 Jun 2010 15:24:06 +0200 Subject: obsolete API elements removed - this commit breaks backward compatibility --- devices/zmq_forwarder/zmq_forwarder.cpp | 2 +- devices/zmq_queue/zmq_queue.cpp | 2 +- devices/zmq_streamer/zmq_streamer.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'devices') diff --git a/devices/zmq_forwarder/zmq_forwarder.cpp b/devices/zmq_forwarder/zmq_forwarder.cpp index 496c3f6..96c9ae5 100644 --- a/devices/zmq_forwarder/zmq_forwarder.cpp +++ b/devices/zmq_forwarder/zmq_forwarder.cpp @@ -52,7 +52,7 @@ int main (int argc, char *argv []) } // TODO: make the number of I/O threads configurable. - zmq::context_t ctx (1, 1); + zmq::context_t ctx (1); zmq::socket_t in_socket (ctx, ZMQ_SUB); in_socket.setsockopt (ZMQ_SUBSCRIBE, "", 0); zmq::socket_t out_socket (ctx, ZMQ_PUB); diff --git a/devices/zmq_queue/zmq_queue.cpp b/devices/zmq_queue/zmq_queue.cpp index 1507ecc..3a20620 100644 --- a/devices/zmq_queue/zmq_queue.cpp +++ b/devices/zmq_queue/zmq_queue.cpp @@ -52,7 +52,7 @@ int main (int argc, char *argv []) } // TODO: make the number of I/O threads configurable. - zmq::context_t ctx (1, 1, ZMQ_POLL); + zmq::context_t ctx (1); zmq::socket_t in_socket (ctx, ZMQ_XREP); zmq::socket_t out_socket (ctx, ZMQ_XREQ); diff --git a/devices/zmq_streamer/zmq_streamer.cpp b/devices/zmq_streamer/zmq_streamer.cpp index 7f4e8a5..f9dcd00 100644 --- a/devices/zmq_streamer/zmq_streamer.cpp +++ b/devices/zmq_streamer/zmq_streamer.cpp @@ -52,7 +52,7 @@ int main (int argc, char *argv []) } // TODO: make the number of I/O threads configurable. - zmq::context_t ctx (1, 1); + zmq::context_t ctx (1); zmq::socket_t in_socket (ctx, ZMQ_UPSTREAM); zmq::socket_t out_socket (ctx, ZMQ_DOWNSTREAM); -- cgit v1.2.3