db/DatabaseSong: add noexcept
This commit is contained in:
parent
7f043367ed
commit
2376527d1f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user