diff --git a/src/decoder/DecoderList.cxx b/src/decoder/DecoderList.cxx index 71483900d..286136826 100644 --- a/src/decoder/DecoderList.cxx +++ b/src/decoder/DecoderList.cxx @@ -152,7 +152,8 @@ decoder_plugin_init_all(const ConfigData &config) } } -void decoder_plugin_deinit_all(void) +void +decoder_plugin_deinit_all() noexcept { decoder_plugins_for_each_enabled([=](const DecoderPlugin &plugin){ plugin.Finish(); diff --git a/src/decoder/DecoderList.hxx b/src/decoder/DecoderList.hxx index 81493f7f3..7f0313bd6 100644 --- a/src/decoder/DecoderList.hxx +++ b/src/decoder/DecoderList.hxx @@ -40,11 +40,11 @@ decoder_plugin_init_all(const ConfigData &config); /* this is where we "unload" all the "plugins" */ void -decoder_plugin_deinit_all(); +decoder_plugin_deinit_all() noexcept; template static inline const DecoderPlugin * -decoder_plugins_find(F f) +decoder_plugins_find(F f) noexcept { for (unsigned i = 0; decoder_plugins[i] != nullptr; ++i) if (decoder_plugins_enabled[i] && f(*decoder_plugins[i]))