TagArchive: add "noexcept"

This commit is contained in:
Max Kellermann
2018-01-21 11:41:13 +01:00
parent 7d789a984a
commit 5caf351c44
2 changed files with 4 additions and 4 deletions

View File

@@ -26,7 +26,7 @@
bool bool
tag_archive_scan(ArchiveFile &archive, const char *path_utf8, tag_archive_scan(ArchiveFile &archive, const char *path_utf8,
const TagHandler &handler, void *handler_ctx) const TagHandler &handler, void *handler_ctx) noexcept
try { try {
Mutex mutex; Mutex mutex;
Cond cond; Cond cond;
@@ -42,7 +42,7 @@ try {
bool bool
tag_archive_scan(ArchiveFile &archive, const char *path_utf8, tag_archive_scan(ArchiveFile &archive, const char *path_utf8,
TagBuilder &builder) TagBuilder &builder) noexcept
try { try {
Mutex mutex; Mutex mutex;
Cond cond; Cond cond;

View File

@@ -36,7 +36,7 @@ class TagBuilder;
*/ */
bool bool
tag_archive_scan(ArchiveFile &archive, const char *path_utf8, tag_archive_scan(ArchiveFile &archive, const char *path_utf8,
const TagHandler &handler, void *handler_ctx); const TagHandler &handler, void *handler_ctx) noexcept;
/** /**
* Scan the tags of a song file inside an archive. Invokes matching * Scan the tags of a song file inside an archive. Invokes matching
@@ -48,6 +48,6 @@ tag_archive_scan(ArchiveFile &archive, const char *path_utf8,
*/ */
bool bool
tag_archive_scan(ArchiveFile &archive, const char *path_utf8, tag_archive_scan(ArchiveFile &archive, const char *path_utf8,
TagBuilder &builder); TagBuilder &builder) noexcept;
#endif #endif