diff options
author | Max Kellermann <max@duempel.org> | 2015-01-21 22:36:13 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2015-01-21 23:30:00 +0100 |
commit | 1c3f5517fabc264d7b37935bd37197cdd68250ba (patch) | |
tree | 509f68fe930e79bfa4c70a1cf2146a347f8acdef /src/filter | |
parent | 10972da06030d57429dc2c86c21e37fd0aca88dc (diff) | |
download | mpd-1c3f5517fabc264d7b37935bd37197cdd68250ba.tar.gz mpd-1c3f5517fabc264d7b37935bd37197cdd68250ba.tar.xz mpd-1c3f5517fabc264d7b37935bd37197cdd68250ba.zip |
config/Option: convert to strictly-typed enum
Diffstat (limited to '')
-rw-r--r-- | src/filter/FilterConfig.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
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", |