From b8a64771c0b1d8ceb0f45d0d8970ec5697acf326 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 10 Aug 2019 12:12:52 +0200 Subject: [PATCH] decoder/sidplay: add `noexcept` --- src/decoder/plugins/SidplayDecoderPlugin.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/decoder/plugins/SidplayDecoderPlugin.cxx b/src/decoder/plugins/SidplayDecoderPlugin.cxx index 8dc4d47b4..d7f65cea5 100644 --- a/src/decoder/plugins/SidplayDecoderPlugin.cxx +++ b/src/decoder/plugins/SidplayDecoderPlugin.cxx @@ -91,7 +91,7 @@ static void loadRom(const Path rom_path, uint8_t *dump) #endif static SidDatabase * -sidplay_load_songlength_db(const Path path) +sidplay_load_songlength_db(const Path path) noexcept { SidDatabase *db = new SidDatabase(); #ifdef HAVE_SIDPLAYFP @@ -186,7 +186,7 @@ ParseSubtuneName(const char *base) noexcept * and the track number (or 1 if no "tune_xxx" suffix is present). */ static SidplayContainerPath -ParseContainerPath(Path path_fs) +ParseContainerPath(Path path_fs) noexcept { const Path base = path_fs.GetBase(); unsigned track; @@ -203,7 +203,7 @@ ParseContainerPath(Path path_fs) */ template static SignedSongTime -get_song_length(T &tune) +get_song_length(T &tune) noexcept { assert(tune.getStatus());