db/DatabaseSong: add noexcept
This commit is contained in:
parent
7f043367ed
commit
2376527d1f
@ -27,7 +27,7 @@
|
|||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
||||||
DetachedSong
|
DetachedSong
|
||||||
DatabaseDetachSong(const Storage *storage, const LightSong &song)
|
DatabaseDetachSong(const Storage *storage, const LightSong &song) noexcept
|
||||||
{
|
{
|
||||||
DetachedSong detached(song);
|
DetachedSong detached(song);
|
||||||
assert(detached.IsInDatabase());
|
assert(detached.IsInDatabase());
|
||||||
|
@ -30,7 +30,7 @@ class DetachedSong;
|
|||||||
* instance.
|
* instance.
|
||||||
*/
|
*/
|
||||||
DetachedSong
|
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
|
* Look up a song in the database and convert it to a #DetachedSong
|
||||||
|
Loading…
Reference in New Issue
Block a user