diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2020-02-25 16:34:15 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2020-02-25 16:34:15 +0100 |
commit | 15e4fdf200920c990f3cc271143f43919cd6f27c (patch) | |
tree | 41bc62a60cab6b20fed9c22f4df42c5b01cc3354 /src/input/Zmq.h | |
parent | 691617b1b651abe3c0413ab4e9349e56c8cf54e5 (diff) | |
download | dabmux-15e4fdf200920c990f3cc271143f43919cd6f27c.tar.gz dabmux-15e4fdf200920c990f3cc271143f43919cd6f27c.tar.bz2 dabmux-15e4fdf200920c990f3cc271143f43919cd6f27c.zip |
Replace new/delete in ZMQ input by vector
Diffstat (limited to 'src/input/Zmq.h')
-rw-r--r-- | src/input/Zmq.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/input/Zmq.h b/src/input/Zmq.h index 2e37b5f..f4992f1 100644 --- a/src/input/Zmq.h +++ b/src/input/Zmq.h @@ -45,6 +45,7 @@ #include <list> #include <string> +#include <vector> #include <cstdint> #include "zmq.hpp" #include "input/inputs.h" @@ -212,7 +213,7 @@ class ZmqBase : public InputBase, public RemoteControllable { bool m_enable_input; /* stores elements of type char[<superframesize>] */ - std::list<uint8_t*> m_frame_buffer; + std::list<std::vector<uint8_t> > m_frame_buffer; dab_input_zmq_config_t m_config; |