Commit bc93c7a1 authored by Max Kellermann's avatar Max Kellermann

input/thread: un-inline the constructor

parent c8a2a557
......@@ -26,6 +26,17 @@
#include <assert.h>
#include <string.h>
ThreadInputStream::ThreadInputStream(const char *_plugin,
const char *_uri,
Mutex &_mutex, Cond &_cond,
size_t _buffer_size)
:InputStream(_uri, _mutex, _cond),
plugin(_plugin),
thread(BIND_THIS_METHOD(ThreadFunc)),
buffer_size(_buffer_size)
{
}
ThreadInputStream::~ThreadInputStream()
{
{
......
......@@ -70,11 +70,7 @@ class ThreadInputStream : public InputStream {
public:
ThreadInputStream(const char *_plugin,
const char *_uri, Mutex &_mutex, Cond &_cond,
size_t _buffer_size)
:InputStream(_uri, _mutex, _cond),
plugin(_plugin),
thread(BIND_THIS_METHOD(ThreadFunc)),
buffer_size(_buffer_size) {}
size_t _buffer_size);
virtual ~ThreadInputStream();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment