ReplayGainInfo: make IsDefined() constexpr
This commit is contained in:
parent
dbbcbc3616
commit
b30957c89c
@ -39,8 +39,7 @@ struct ReplayGainTuple {
|
|||||||
peak = 0.0;
|
peak = 0.0;
|
||||||
}
|
}
|
||||||
|
|
||||||
gcc_pure
|
constexpr bool IsDefined() const {
|
||||||
bool IsDefined() const {
|
|
||||||
return gain > -100;
|
return gain > -100;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user