diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2018-01-07 10:57:53 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2018-01-07 10:57:53 +0100 |
commit | b92491d93d7759fefdc96552f5319d7a38e47895 (patch) | |
tree | 87a04baf107ad87893fd0fef5f26328a32336f4e /src/OutputZeroMQ.h | |
parent | 8953a94893fe39a10b044ea62cf6971d36801880 (diff) | |
download | dabmod-b92491d93d7759fefdc96552f5319d7a38e47895.tar.gz dabmod-b92491d93d7759fefdc96552f5319d7a38e47895.tar.bz2 dabmod-b92491d93d7759fefdc96552f5319d7a38e47895.zip |
Simplify OutputZeroMQ a bit
Diffstat (limited to 'src/OutputZeroMQ.h')
-rw-r--r-- | src/OutputZeroMQ.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/OutputZeroMQ.h b/src/OutputZeroMQ.h index 3107225..be2451b 100644 --- a/src/OutputZeroMQ.h +++ b/src/OutputZeroMQ.h @@ -38,10 +38,9 @@ class OutputZeroMQ : public ModOutput { public: - OutputZeroMQ(std::string endpoint, int type, Buffer* dataOut = NULL); - virtual ~OutputZeroMQ(); - virtual int process(Buffer* dataIn); - const char* name() { return m_name.c_str(); } + OutputZeroMQ(std::string endpoint, int type, Buffer* dataOut = nullptr); + virtual int process(Buffer* dataIn) override; + const char* name() override { return m_name.c_str(); } protected: int m_type; // zmq socket type |