DetachedSong: allow LoadFile(), Update() to throw

This commit is contained in:
Max Kellermann
2019-05-21 23:11:56 +02:00
parent 3fc4da382e
commit 9a78371b5c
3 changed files with 12 additions and 10 deletions

View File

@@ -96,7 +96,7 @@ DatabaseDetachSong(gcc_unused const Database &db,
}
bool
DetachedSong::LoadFile(Path path) noexcept
DetachedSong::LoadFile(Path path)
{
if (path.ToUTF8() == uri1) {
SetTag(MakeTag1a());