diff --git a/src/db/DatabaseSong.cxx b/src/db/DatabaseSong.cxx index 7ef42c53b..6eee88a2b 100644 --- a/src/db/DatabaseSong.cxx +++ b/src/db/DatabaseSong.cxx @@ -27,7 +27,7 @@ #include DetachedSong -DatabaseDetachSong(const Storage *storage, const LightSong &song) +DatabaseDetachSong(const Storage *storage, const LightSong &song) noexcept { DetachedSong detached(song); assert(detached.IsInDatabase()); diff --git a/src/db/DatabaseSong.hxx b/src/db/DatabaseSong.hxx index a4d41ca9d..13099de99 100644 --- a/src/db/DatabaseSong.hxx +++ b/src/db/DatabaseSong.hxx @@ -30,7 +30,7 @@ class DetachedSong; * instance. */ DetachedSong -DatabaseDetachSong(const Storage *storage, const LightSong &song); +DatabaseDetachSong(const Storage *storage, const LightSong &song) noexcept; /** * Look up a song in the database and convert it to a #DetachedSong