diff --git a/src/tag/ReplayGainParser.cxx b/src/tag/ReplayGainParser.cxx index 8d162bb8d..60a458e76 100644 --- a/src/tag/ReplayGainParser.cxx +++ b/src/tag/ReplayGainParser.cxx @@ -28,7 +28,7 @@ template static bool -ParseReplayGainTagTemplate(ReplayGainInfo &info, const T t) +ParseReplayGainTagTemplate(ReplayGainInfo &info, const T t) noexcept { const char *value; @@ -50,7 +50,8 @@ ParseReplayGainTagTemplate(ReplayGainInfo &info, const T t) } bool -ParseReplayGainTag(ReplayGainInfo &info, const char *name, const char *value) +ParseReplayGainTag(ReplayGainInfo &info, + const char *name, const char *value) noexcept { assert(name != nullptr); assert(value != nullptr); @@ -71,7 +72,7 @@ ParseReplayGainTag(ReplayGainInfo &info, const char *name, const char *value) } bool -ParseReplayGainVorbis(ReplayGainInfo &info, StringView entry) +ParseReplayGainVorbis(ReplayGainInfo &info, StringView entry) noexcept { struct VorbisCommentEntry { StringView entry; diff --git a/src/tag/ReplayGainParser.hxx b/src/tag/ReplayGainParser.hxx index ed612f0b7..b2fa052c9 100644 --- a/src/tag/ReplayGainParser.hxx +++ b/src/tag/ReplayGainParser.hxx @@ -24,9 +24,10 @@ struct StringView; struct ReplayGainInfo; bool -ParseReplayGainTag(ReplayGainInfo &info, const char *name, const char *value); +ParseReplayGainTag(ReplayGainInfo &info, + const char *name, const char *value) noexcept; bool -ParseReplayGainVorbis(ReplayGainInfo &info, StringView entry); +ParseReplayGainVorbis(ReplayGainInfo &info, StringView entry) noexcept; #endif