diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2010-06-04 15:24:06 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2010-06-04 15:24:06 +0200 |
commit | 67ca7dcbe6b072b74a112ce4df4529cda82c0f13 (patch) | |
tree | 8837e75fa23a902fe3b00a8f18aa1b80637394a4 /devices | |
parent | d844a90690af357988b1c5ba027c740d4182d753 (diff) |
obsolete API elements removed - this commit breaks backward compatibility
Diffstat (limited to 'devices')
-rw-r--r-- | devices/zmq_forwarder/zmq_forwarder.cpp | 2 | ||||
-rw-r--r-- | devices/zmq_queue/zmq_queue.cpp | 2 | ||||
-rw-r--r-- | devices/zmq_streamer/zmq_streamer.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
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); |