summaryrefslogtreecommitdiff
path: root/devices/zmq_forwarder
diff options
context:
space:
mode:
Diffstat (limited to 'devices/zmq_forwarder')
-rw-r--r--devices/zmq_forwarder/zmq_forwarder.cpp2
1 files changed, 1 insertions, 1 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);