tag/ReplayGainParser: add "noexcept"
This commit is contained in:
parent
6e1500c251
commit
5c300a9f1a
|
@ -28,7 +28,7 @@
|
|||
|
||||
template<typename T>
|
||||
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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue