Commit b7106bdc authored by Pierre Aubert's avatar Pierre Aubert
Browse files

Update compilation for zmq cpp greater and lower than 4.7.1

parent bb980f38
Pipeline #104582 passed with stages
in 19 minutes and 12 seconds
......@@ -24,7 +24,7 @@ zmq::socket_t* pzmq_createClientSocket(zmq::context_t & context, int type, const
if(type == ZMQ_SUB){
#if (CPPZMQ_VERSION_MAJOR*100 + CPPZMQ_VERSION_MINOR*10 + CPPZMQ_VERSION_PATCH) >= 471
socket->set(zmq::sockopt::linger, 0);
socket->set(zmq::sockopt::subscribe, "", 0);
socket->set(zmq::sockopt::subscribe, "");
socket->set(zmq::sockopt::conflate, 1);
#else
socket->setsockopt(ZMQ_LINGER, 0);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment