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

@@ -141,7 +141,7 @@ mikmod_decoder_init(const ConfigBlock &block)
}
static void
mikmod_decoder_finish(void)
mikmod_decoder_finish() noexcept
{
MikMod_Exit();
}
@@ -186,7 +186,7 @@ mikmod_decoder_file_decode(DecoderClient &client, Path path_fs)
static bool
mikmod_decoder_scan_file(Path path_fs,
const TagHandler &handler, void *handler_ctx)
const TagHandler &handler, void *handler_ctx) noexcept
{
/* deconstify the path because libmikmod wants a non-const
string pointer */