summaryrefslogtreecommitdiffstats
path: root/contrib/edi
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2020-04-21 15:39:26 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2020-04-21 15:39:26 +0200
commit8c478b0fd3988c1967bb1040fd97d5b4ac9a4ff4 (patch)
tree4ad5a0ea151f2117845eda1acf6c820076014ef9 /contrib/edi
parentb1438d4fa31aa9e967f1f7e2d48f55ca371151d1 (diff)
downloadODR-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/edi')
-rw-r--r--contrib/edi/Transport.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/edi/Transport.cpp b/contrib/edi/Transport.cpp
index c7bde8f..4c91483 100644
--- a/contrib/edi/Transport.cpp
+++ b/contrib/edi/Transport.cpp
@@ -149,7 +149,7 @@ void Sender::write(const TagPacket& tagpacket)
tcp_dispatchers.at(tcp_dest.get())->write(edi_frag);
}
else if (auto tcp_dest = dynamic_pointer_cast<edi::tcp_client_t>(dest)) {
- tcp_senders.at(tcp_dest.get())->sendall(move(edi_frag));
+ tcp_senders.at(tcp_dest.get())->sendall(edi_frag);
}
else {
throw logic_error("EDI destination not implemented");
@@ -175,7 +175,7 @@ void Sender::write(const TagPacket& tagpacket)
tcp_dispatchers.at(tcp_dest.get())->write(af_packet);
}
else if (auto tcp_dest = dynamic_pointer_cast<edi::tcp_client_t>(dest)) {
- tcp_senders.at(tcp_dest.get())->sendall(move(af_packet));
+ tcp_senders.at(tcp_dest.get())->sendall(af_packet);
}
else {
throw logic_error("EDI destination not implemented");