Commit 2376527d authored by Max Kellermann's avatar Max Kellermann

db/DatabaseSong: add `noexcept`

parent 7f043367
......@@ -27,7 +27,7 @@
#include <assert.h>
DetachedSong
DatabaseDetachSong(const Storage *storage, const LightSong &song)
DatabaseDetachSong(const Storage *storage, const LightSong &song) noexcept
{
DetachedSong detached(song);
assert(detached.IsInDatabase());
......
......@@ -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
......
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