aboutsummaryrefslogtreecommitdiffstats
path: root/src/input/Init.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-01-21 22:36:13 +0100
committerMax Kellermann <max@duempel.org>2015-01-21 23:30:00 +0100
commit1c3f5517fabc264d7b37935bd37197cdd68250ba (patch)
tree509f68fe930e79bfa4c70a1cf2146a347f8acdef /src/input/Init.cxx
parent10972da06030d57429dc2c86c21e37fd0aca88dc (diff)
downloadmpd-1c3f5517fabc264d7b37935bd37197cdd68250ba.tar.gz
mpd-1c3f5517fabc264d7b37935bd37197cdd68250ba.tar.xz
mpd-1c3f5517fabc264d7b37935bd37197cdd68250ba.zip
config/Option: convert to strictly-typed enum
Diffstat (limited to '')
-rw-r--r--src/input/Init.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/input/Init.cxx b/src/input/Init.cxx
index 9fbef934e..0debf6d43 100644
--- a/src/input/Init.cxx
+++ b/src/input/Init.cxx
@@ -43,7 +43,8 @@ input_stream_global_init(Error &error)
assert(plugin->open != nullptr);
const struct config_param *param =
- config_find_block(CONF_INPUT, "plugin", plugin->name);
+ config_find_block(ConfigOption::INPUT, "plugin",
+ plugin->name);
if (param == nullptr) {
param = &empty;
} else if (!param->GetBlockValue("enabled", true))