diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2020-04-21 15:39:26 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2020-04-21 15:39:26 +0200 |
commit | 8c478b0fd3988c1967bb1040fd97d5b4ac9a4ff4 (patch) | |
tree | 4ad5a0ea151f2117845eda1acf6c820076014ef9 /contrib/Socket.cpp | |
parent | b1438d4fa31aa9e967f1f7e2d48f55ca371151d1 (diff) | |
download | ODR-AudioEnc-8c478b0fd3988c1967bb1040fd97d5b4ac9a4ff4.tar.gz ODR-AudioEnc-8c478b0fd3988c1967bb1040fd97d5b4ac9a4ff4.tar.bz2 ODR-AudioEnc-8c478b0fd3988c1967bb1040fd97d5b4ac9a4ff4.zip |
Fix multi output when combining EDI and ZMQ
Diffstat (limited to 'contrib/Socket.cpp')
-rw-r--r-- | contrib/Socket.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/Socket.cpp b/contrib/Socket.cpp index 8b8d0e2..159de7e 100644 --- a/contrib/Socket.cpp +++ b/contrib/Socket.cpp @@ -925,13 +925,13 @@ TCPSendClient::~TCPSendClient() } } -void TCPSendClient::sendall(std::vector<uint8_t>&& buffer) +void TCPSendClient::sendall(const std::vector<uint8_t>& buffer) { if (not m_running) { throw runtime_error(m_exception_data); } - m_queue.push(move(buffer)); + m_queue.push(buffer); } void TCPSendClient::process() |