input/Plugin: pass EventLoop& to init()

Eliminate dependency on io_thread_get().
This commit is contained in:
Max Kellermann
2017-01-25 23:06:12 +01:00
parent 58ac72f79d
commit 3854211694
15 changed files with 21 additions and 20 deletions

View File

@@ -106,7 +106,7 @@ static constexpr Domain cdio_domain("cdio");
static bool default_reverse_endian;
static void
input_cdio_init(const ConfigBlock &block)
input_cdio_init(EventLoop &, const ConfigBlock &block)
{
const char *value = block.GetBlockValue("default_byte_order");
if (value != nullptr) {