From 28a2d41b85fce58d02d1205620f8f4ad1d38a2b4 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 24 Aug 2017 19:49:54 +0200 Subject: db/DatabasePlugin: pass EventThread's EventLoop to create() Allows database plugins to use the EventThread, e.g. for CURL integration. --- src/db/Configured.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/db/Configured.hxx') diff --git a/src/db/Configured.hxx b/src/db/Configured.hxx index e2ba63ecc..287a40438 100644 --- a/src/db/Configured.hxx +++ b/src/db/Configured.hxx @@ -34,7 +34,7 @@ class Database; * Throws #std::runtime_error on error. */ Database * -CreateConfiguredDatabase(EventLoop &main_event_loop, +CreateConfiguredDatabase(EventLoop &main_event_loop, EventLoop &io_event_loop, DatabaseListener &listener); #endif -- cgit v1.2.3