input/async: pass EventLoop& to constructor

This commit is contained in:
Max Kellermann
2017-01-25 23:12:29 +01:00
parent c3fa7e13cf
commit f8eeded528
5 changed files with 16 additions and 14 deletions

View File

@@ -73,7 +73,7 @@ public:
* @param _buffer a buffer allocated with HugeAllocate(); the
* destructor will free it using HugeFree()
*/
AsyncInputStream(const char *_url,
AsyncInputStream(EventLoop &event_loop, const char *_url,
Mutex &_mutex, Cond &_cond,
size_t _buffer_size,
size_t _resume_at);