aboutsummaryrefslogtreecommitdiffstats
path: root/src/db
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-01-18 12:48:28 +0100
committerMax Kellermann <max@duempel.org>2014-01-18 12:48:28 +0100
commitd4d4d6217fe95f3a92c1891f9949abeaa95f146f (patch)
tree2e0891d42ccecbc5cd9132932c14cdf4ac0163ea /src/db
parentbe47320a0589a84eb942790c3884bb6e25c38a2f (diff)
downloadmpd-d4d4d6217fe95f3a92c1891f9949abeaa95f146f.tar.gz
mpd-d4d4d6217fe95f3a92c1891f9949abeaa95f146f.tar.xz
mpd-d4d4d6217fe95f3a92c1891f9949abeaa95f146f.zip
db/upnp: don't use LazyDatabase
Now that MPD forks early, this workaround is obsolete.
Diffstat (limited to 'src/db')
-rw-r--r--src/db/UpnpDatabasePlugin.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/db/UpnpDatabasePlugin.cxx b/src/db/UpnpDatabasePlugin.cxx
index e48b3cdd2..0e3a4dd8e 100644
--- a/src/db/UpnpDatabasePlugin.cxx
+++ b/src/db/UpnpDatabasePlugin.cxx
@@ -26,7 +26,6 @@
#include "upnp/Directory.hxx"
#include "upnp/Tags.hxx"
#include "upnp/Util.hxx"
-#include "LazyDatabase.hxx"
#include "DatabasePlugin.hxx"
#include "DatabaseSelection.hxx"
#include "DatabaseError.hxx"
@@ -147,7 +146,7 @@ UpnpDatabase::Create(gcc_unused EventLoop &loop,
/* libupnp loses its ability to receive multicast messages
apparently due to daemonization; using the LazyDatabase
wrapper works around this problem */
- return new LazyDatabase(db);
+ return db;
}
bool