decoder/Plugin: add "noexcept"

This commit is contained in:
Max Kellermann
2018-01-21 11:47:17 +01:00
parent d921114832
commit 7d789a984a
19 changed files with 31 additions and 31 deletions

View File

@@ -54,7 +54,7 @@ wildmidi_init(const ConfigBlock &block)
}
static void
wildmidi_finish(void)
wildmidi_finish() noexcept
{
WildMidi_Shutdown();
}
@@ -127,7 +127,7 @@ wildmidi_file_decode(DecoderClient &client, Path path_fs)
static bool
wildmidi_scan_file(Path path_fs,
const TagHandler &handler, void *handler_ctx)
const TagHandler &handler, void *handler_ctx) noexcept
{
midi *wm = WildMidi_Open(path_fs.c_str());
if (wm == nullptr)