diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2021-01-15 08:43:30 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2021-01-15 08:43:30 +0100 |
commit | cb5559ae45daa7ba689e6ae15a9f48c30ffa1d2b (patch) | |
tree | 8d9874abc2df0184293024f72b35919a4012bca4 /src | |
parent | 9d6ddfcb36115084237bac3a3f1c49ddf0da765f (diff) | |
download | ODR-SourceCompanion-cb5559ae45daa7ba689e6ae15a9f48c30ffa1d2b.tar.gz ODR-SourceCompanion-cb5559ae45daa7ba689e6ae15a9f48c30ffa1d2b.tar.bz2 ODR-SourceCompanion-cb5559ae45daa7ba689e6ae15a9f48c30ffa1d2b.zip |
Suppress warning due to zmq.hpp update
Diffstat (limited to 'src')
-rw-r--r-- | src/Outputs.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Outputs.cpp b/src/Outputs.cpp index 7046f61..5dd061c 100644 --- a/src/Outputs.cpp +++ b/src/Outputs.cpp @@ -124,8 +124,9 @@ bool ZMQ::write_frame(const uint8_t *buf, size_t len) memcpy(ZMQ_FRAME_DATA(zmq_frame_header), buf, len); - m_sock.send(m_framebuf.data(), ZMQ_FRAME_SIZE(zmq_frame_header), - ZMQ_DONTWAIT); + m_sock.send( + zmq::const_buffer{m_framebuf.data(), ZMQ_FRAME_SIZE(zmq_frame_header)}, + zmq::send_flags::dontwait); } catch (zmq::error_t& e) { fprintf(stderr, "ZeroMQ send error !\n"); |