decoder/{adplug,sidplay}: add missing "noexcept"

Closes #202
This commit is contained in:
Max Kellermann 2018-01-23 10:02:36 +01:00
parent d084950b1a
commit 2c401f1102
2 changed files with 4 additions and 4 deletions

View File

@ -83,7 +83,7 @@ adplug_file_decode(DecoderClient &client, Path path_fs)
static void
adplug_scan_tag(TagType type, const std::string &value,
const TagHandler &handler, void *handler_ctx)
const TagHandler &handler, void *handler_ctx) noexcept
{
if (!value.empty())
tag_handler_invoke_tag(handler, handler_ctx,
@ -92,7 +92,7 @@ adplug_scan_tag(TagType type, const std::string &value,
static bool
adplug_scan_file(Path path_fs,
const TagHandler &handler, void *handler_ctx)
const TagHandler &handler, void *handler_ctx) noexcept
{
CEmuopl opl(sample_rate, true, true);
opl.init();

View File

@ -104,7 +104,7 @@ sidplay_init(const ConfigBlock &block)
}
static void
sidplay_finish()
sidplay_finish() noexcept
{
delete songlength_database;
}
@ -442,7 +442,7 @@ ScanSidTuneInfo(const SidTuneInfo &info, unsigned track, unsigned n_tracks,
static bool
sidplay_scan_file(Path path_fs,
const TagHandler &handler, void *handler_ctx)
const TagHandler &handler, void *handler_ctx) noexcept
{
const auto container = ParseContainerPath(path_fs);
const unsigned song_num = container.track;