tag/MixRamp: add noexcept
This commit is contained in:
parent
5c550e8b33
commit
74a883dbf8
@ -27,7 +27,7 @@
|
|||||||
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
static bool
|
static bool
|
||||||
ParseMixRampTagTemplate(MixRampInfo &info, const T t)
|
ParseMixRampTagTemplate(MixRampInfo &info, const T t) noexcept
|
||||||
{
|
{
|
||||||
const auto start = t["mixramp_start"];
|
const auto start = t["mixramp_start"];
|
||||||
if (!start.IsNull()) {
|
if (!start.IsNull()) {
|
||||||
@ -45,7 +45,8 @@ ParseMixRampTagTemplate(MixRampInfo &info, const T t)
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool
|
bool
|
||||||
ParseMixRampTag(MixRampInfo &info, const char *name, const char *value)
|
ParseMixRampTag(MixRampInfo &info,
|
||||||
|
const char *name, const char *value) noexcept
|
||||||
{
|
{
|
||||||
assert(name != nullptr);
|
assert(name != nullptr);
|
||||||
assert(value != nullptr);
|
assert(value != nullptr);
|
||||||
@ -66,7 +67,7 @@ ParseMixRampTag(MixRampInfo &info, const char *name, const char *value)
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool
|
bool
|
||||||
ParseMixRampVorbis(MixRampInfo &info, const char *entry)
|
ParseMixRampVorbis(MixRampInfo &info, const char *entry) noexcept
|
||||||
{
|
{
|
||||||
struct VorbisCommentEntry {
|
struct VorbisCommentEntry {
|
||||||
const char *entry;
|
const char *entry;
|
||||||
|
@ -23,9 +23,10 @@
|
|||||||
class MixRampInfo;
|
class MixRampInfo;
|
||||||
|
|
||||||
bool
|
bool
|
||||||
ParseMixRampTag(MixRampInfo &info, const char *name, const char *value);
|
ParseMixRampTag(MixRampInfo &info,
|
||||||
|
const char *name, const char *value) noexcept;
|
||||||
|
|
||||||
bool
|
bool
|
||||||
ParseMixRampVorbis(MixRampInfo &info, const char *entry);
|
ParseMixRampVorbis(MixRampInfo &info, const char *entry) noexcept;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user