From 1c3f5517fabc264d7b37935bd37197cdd68250ba Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 21 Jan 2015 22:36:13 +0100 Subject: config/Option: convert to strictly-typed enum --- src/input/Init.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/input/Init.cxx') 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 = ∅ } else if (!param->GetBlockValue("enabled", true)) -- cgit v1.2.3