diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2019-08-27 08:30:20 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2019-08-27 08:30:20 +0200 |
commit | 70e72e84212f5b6b15f2e1a2b2d95d1d67abac7f (patch) | |
tree | a21fb353a0b5bcdd89ae249feaf82c4715249cc3 /src/input/Edi.cpp | |
parent | 22df1554f5b6dabfd9c8bb18a0107c36a3cf2aac (diff) | |
download | dabmux-70e72e84212f5b6b15f2e1a2b2d95d1d67abac7f.tar.gz dabmux-70e72e84212f5b6b15f2e1a2b2d95d1d67abac7f.tar.bz2 dabmux-70e72e84212f5b6b15f2e1a2b2d95d1d67abac7f.zip |
Make InputBase::open() return void
Diffstat (limited to 'src/input/Edi.cpp')
-rw-r--r-- | src/input/Edi.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/input/Edi.cpp b/src/input/Edi.cpp index 765a355..58ad38b 100644 --- a/src/input/Edi.cpp +++ b/src/input/Edi.cpp @@ -57,7 +57,7 @@ Edi::~Edi() { } } -int Edi::open(const std::string& name) +void Edi::open(const std::string& name) { const std::regex re_udp("udp://:([0-9]+)"); const std::regex re_tcp("tcp://(.*):([0-9]+)"); @@ -91,8 +91,6 @@ int Edi::open(const std::string& name) m_running = true; m_thread = std::thread(&Edi::m_run, this); - - return 0; } int Edi::readFrame(uint8_t* buffer, size_t size) |