SongUpdate: add "noexcept"

This commit is contained in:
Max Kellermann
2018-01-21 11:40:42 +01:00
parent 1e9da09f62
commit 1e3f0650df
4 changed files with 14 additions and 13 deletions

View File

@@ -109,17 +109,17 @@ struct Song {
*/
gcc_malloc
static Song *LoadFile(Storage &storage, const char *name_utf8,
Directory &parent);
Directory &parent) noexcept;
void Free();
bool UpdateFile(Storage &storage);
bool UpdateFile(Storage &storage) noexcept;
#ifdef ENABLE_ARCHIVE
static Song *LoadFromArchive(ArchiveFile &archive,
const char *name_utf8,
Directory &parent);
bool UpdateFileInArchive(ArchiveFile &archive);
Directory &parent) noexcept;
bool UpdateFileInArchive(ArchiveFile &archive) noexcept;
#endif
/**