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/decoder/DecoderList.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/decoder/DecoderList.cxx') diff --git a/src/decoder/DecoderList.cxx b/src/decoder/DecoderList.cxx index c5b8ff5fb..56cc83eba 100644 --- a/src/decoder/DecoderList.cxx +++ b/src/decoder/DecoderList.cxx @@ -132,7 +132,8 @@ void decoder_plugin_init_all(void) for (unsigned i = 0; decoder_plugins[i] != nullptr; ++i) { const DecoderPlugin &plugin = *decoder_plugins[i]; const struct config_param *param = - config_find_block(CONF_DECODER, "plugin", plugin.name); + config_find_block(ConfigOption::DECODER, "plugin", + plugin.name); if (param == nullptr) param = ∅ -- cgit v1.2.3