summaryrefslogtreecommitdiffstats
path: root/src/OutputZeroMQ.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2018-01-07 10:57:53 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2018-01-07 10:57:53 +0100
commitb92491d93d7759fefdc96552f5319d7a38e47895 (patch)
tree87a04baf107ad87893fd0fef5f26328a32336f4e /src/OutputZeroMQ.cpp
parent8953a94893fe39a10b044ea62cf6971d36801880 (diff)
downloaddabmod-b92491d93d7759fefdc96552f5319d7a38e47895.tar.gz
dabmod-b92491d93d7759fefdc96552f5319d7a38e47895.tar.bz2
dabmod-b92491d93d7759fefdc96552f5319d7a38e47895.zip
Simplify OutputZeroMQ a bit
Diffstat (limited to 'src/OutputZeroMQ.cpp')
-rw-r--r--src/OutputZeroMQ.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/OutputZeroMQ.cpp b/src/OutputZeroMQ.cpp
index 93fe3c0..69f4aa1 100644
--- a/src/OutputZeroMQ.cpp
+++ b/src/OutputZeroMQ.cpp
@@ -32,8 +32,8 @@
#if defined(HAVE_ZEROMQ)
-OutputZeroMQ::OutputZeroMQ(std::string endpoint, int type, Buffer* dataOut)
- : ModOutput(),
+OutputZeroMQ::OutputZeroMQ(std::string endpoint, int type, Buffer* dataOut) :
+ ModOutput(),
m_type(type),
m_zmq_context(1),
m_zmq_sock(m_zmq_context, type),
@@ -59,11 +59,6 @@ OutputZeroMQ::OutputZeroMQ(std::string endpoint, int type, Buffer* dataOut)
m_zmq_sock.bind(m_endpoint.c_str());
}
-OutputZeroMQ::~OutputZeroMQ()
-{
- PDEBUG("OutputZeroMQ::~OutputZeroMQ() @ %p\n", this);
-}
-
int OutputZeroMQ::process(Buffer* dataIn)
{
PDEBUG("OutputZeroMQ::process"