ReplayGainInfo: make IsDefined() constexpr

This commit is contained in:
Max Kellermann 2014-12-10 07:57:07 +01:00
parent dbbcbc3616
commit b30957c89c

View File

@ -39,8 +39,7 @@ struct ReplayGainTuple {
peak = 0.0;
}
gcc_pure
bool IsDefined() const {
constexpr bool IsDefined() const {
return gain > -100;
}