diff options
author | Max Kellermann <max@duempel.org> | 2014-02-19 23:17:21 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-02-19 23:17:21 +0100 |
commit | 85b8675e7a11a81bda4b4328e19e433768048911 (patch) | |
tree | fa69fa3360f8790331ddf874608d6411aecc14d4 /src/db/Configured.cxx | |
parent | ae594ad92c1a6dc4aee3e83fa4ab94075b0170c1 (diff) | |
download | mpd-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 '')
-rw-r--r-- | src/db/Configured.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/db/Configured.cxx b/src/db/Configured.cxx index edd3159f9..14471402a 100644 --- a/src/db/Configured.cxx +++ b/src/db/Configured.cxx @@ -28,7 +28,7 @@ Database * CreateConfiguredDatabase(EventLoop &loop, DatabaseListener &listener, - bool &is_simple_r, Error &error) + Error &error) { const struct config_param *param = config_get_param(CONF_DATABASE); const struct config_param *path = config_get_param(CONF_DB_FILE); @@ -53,7 +53,7 @@ CreateConfiguredDatabase(EventLoop &loop, DatabaseListener &listener, return nullptr; Database *db = DatabaseGlobalInit(loop, listener, *param, - is_simple_r, error); + error); delete allocated; return db; } |