Commit 2c401f11 authored by Max Kellermann's avatar Max Kellermann

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

Closes #202
parent d084950b
...@@ -83,7 +83,7 @@ adplug_file_decode(DecoderClient &client, Path path_fs) ...@@ -83,7 +83,7 @@ adplug_file_decode(DecoderClient &client, Path path_fs)
static void static void
adplug_scan_tag(TagType type, const std::string &value, 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()) if (!value.empty())
tag_handler_invoke_tag(handler, handler_ctx, tag_handler_invoke_tag(handler, handler_ctx,
...@@ -92,7 +92,7 @@ adplug_scan_tag(TagType type, const std::string &value, ...@@ -92,7 +92,7 @@ adplug_scan_tag(TagType type, const std::string &value,
static bool static bool
adplug_scan_file(Path path_fs, 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); CEmuopl opl(sample_rate, true, true);
opl.init(); opl.init();
......
...@@ -104,7 +104,7 @@ sidplay_init(const ConfigBlock &block) ...@@ -104,7 +104,7 @@ sidplay_init(const ConfigBlock &block)
} }
static void static void
sidplay_finish() sidplay_finish() noexcept
{ {
delete songlength_database; delete songlength_database;
} }
...@@ -442,7 +442,7 @@ ScanSidTuneInfo(const SidTuneInfo &info, unsigned track, unsigned n_tracks, ...@@ -442,7 +442,7 @@ ScanSidTuneInfo(const SidTuneInfo &info, unsigned track, unsigned n_tracks,
static bool static bool
sidplay_scan_file(Path path_fs, 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 auto container = ParseContainerPath(path_fs);
const unsigned song_num = container.track; const unsigned song_num = container.track;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment