aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/plugins/ProxyDatabasePlugin.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-02-19 23:17:21 +0100
committerMax Kellermann <max@duempel.org>2014-02-19 23:17:21 +0100
commit85b8675e7a11a81bda4b4328e19e433768048911 (patch)
treefa69fa3360f8790331ddf874608d6411aecc14d4 /src/db/plugins/ProxyDatabasePlugin.cxx
parentae594ad92c1a6dc4aee3e83fa4ab94075b0170c1 (diff)
downloadmpd-85b8675e7a11a81bda4b4328e19e433768048911.tar.gz
mpd-85b8675e7a11a81bda4b4328e19e433768048911.tar.xz
mpd-85b8675e7a11a81bda4b4328e19e433768048911.zip
db/Interface: add attribute "plugin"
The new method IsPlugin() replaces the "is_simple" flag.
Diffstat (limited to 'src/db/plugins/ProxyDatabasePlugin.cxx')
-rw-r--r--src/db/plugins/ProxyDatabasePlugin.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/db/plugins/ProxyDatabasePlugin.cxx b/src/db/plugins/ProxyDatabasePlugin.cxx
index c09468869..035ded8c3 100644
--- a/src/db/plugins/ProxyDatabasePlugin.cxx
+++ b/src/db/plugins/ProxyDatabasePlugin.cxx
@@ -91,7 +91,8 @@ class ProxyDatabase final : public Database, SocketMonitor, IdleMonitor {
public:
ProxyDatabase(EventLoop &_loop, DatabaseListener &_listener)
- :SocketMonitor(_loop), IdleMonitor(_loop),
+ :Database(proxy_db_plugin),
+ SocketMonitor(_loop), IdleMonitor(_loop),
listener(_listener) {}
static Database *Create(EventLoop &loop, DatabaseListener &listener,