Commit b8a64771 authored by Max Kellermann's avatar Max Kellermann

decoder/sidplay: add `noexcept`

parent f357f743
...@@ -91,7 +91,7 @@ static void loadRom(const Path rom_path, uint8_t *dump) ...@@ -91,7 +91,7 @@ static void loadRom(const Path rom_path, uint8_t *dump)
#endif #endif
static SidDatabase * static SidDatabase *
sidplay_load_songlength_db(const Path path) sidplay_load_songlength_db(const Path path) noexcept
{ {
SidDatabase *db = new SidDatabase(); SidDatabase *db = new SidDatabase();
#ifdef HAVE_SIDPLAYFP #ifdef HAVE_SIDPLAYFP
...@@ -186,7 +186,7 @@ ParseSubtuneName(const char *base) noexcept ...@@ -186,7 +186,7 @@ ParseSubtuneName(const char *base) noexcept
* and the track number (or 1 if no "tune_xxx" suffix is present). * and the track number (or 1 if no "tune_xxx" suffix is present).
*/ */
static SidplayContainerPath static SidplayContainerPath
ParseContainerPath(Path path_fs) ParseContainerPath(Path path_fs) noexcept
{ {
const Path base = path_fs.GetBase(); const Path base = path_fs.GetBase();
unsigned track; unsigned track;
...@@ -203,7 +203,7 @@ ParseContainerPath(Path path_fs) ...@@ -203,7 +203,7 @@ ParseContainerPath(Path path_fs)
*/ */
template<typename T> template<typename T>
static SignedSongTime static SignedSongTime
get_song_length(T &tune) get_song_length(T &tune) noexcept
{ {
assert(tune.getStatus()); assert(tune.getStatus());
......
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