diff options
author | Max Kellermann <max@duempel.org> | 2014-10-07 19:45:40 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-10-09 07:45:25 +0200 |
commit | 3d2558bde6cebd6b628935f2852572cc7bb6eeab (patch) | |
tree | a2dcb1624f8d24cde3918c9ee955aae911c45417 /src/storage/Registry.cxx | |
parent | 1aac0b10c9499db77cbe39e43a0abc8cccc72079 (diff) | |
download | mpd-3d2558bde6cebd6b628935f2852572cc7bb6eeab.tar.gz mpd-3d2558bde6cebd6b628935f2852572cc7bb6eeab.tar.xz mpd-3d2558bde6cebd6b628935f2852572cc7bb6eeab.zip |
StoragePlugin: pass EventLoop to constructor
Diffstat (limited to '')
-rw-r--r-- | src/storage/Registry.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |