Commit 5caf351c authored by Max Kellermann's avatar Max Kellermann

TagArchive: add "noexcept"

parent 7d789a98
...@@ -26,7 +26,7 @@ ...@@ -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 { ...@@ -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;
......
...@@ -36,7 +36,7 @@ class TagBuilder; ...@@ -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, ...@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment