From 3d2558bde6cebd6b628935f2852572cc7bb6eeab Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 7 Oct 2014 19:45:40 +0200 Subject: StoragePlugin: pass EventLoop to constructor --- src/storage/Registry.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/storage/Registry.cxx') diff --git a/src/storage/Registry.cxx b/src/storage/Registry.cxx index b3fdd1642..d8e273fd5 100644 --- a/src/storage/Registry.cxx +++ b/src/storage/Registry.cxx @@ -52,7 +52,7 @@ GetStoragePluginByName(const char *name) } Storage * -CreateStorageURI(const char *uri, Error &error) +CreateStorageURI(EventLoop &event_loop, const char *uri, Error &error) { assert(!error.IsDefined()); @@ -62,7 +62,7 @@ CreateStorageURI(const char *uri, Error &error) if (plugin.create_uri == nullptr) continue; - Storage *storage = plugin.create_uri(uri, error); + Storage *storage = plugin.create_uri(event_loop, uri, error); if (storage != nullptr || error.IsDefined()) return storage; } -- cgit v1.2.3