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/filter/FilterConfig.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/filter') diff --git a/src/filter/FilterConfig.cxx b/src/filter/FilterConfig.cxx index 6ceecd581..be2547751 100644 --- a/src/filter/FilterConfig.cxx +++ b/src/filter/FilterConfig.cxx @@ -35,7 +35,8 @@ static bool filter_chain_append_new(Filter &chain, const char *template_name, Error &error) { const struct config_param *cfg = - config_find_block(CONF_AUDIO_FILTER, "name", template_name); + config_find_block(ConfigOption::AUDIO_FILTER, "name", + template_name); if (cfg == nullptr) { error.Format(config_domain, "filter template not found: %s", -- cgit v1.2.3