Commit b30957c8 authored by Max Kellermann's avatar Max Kellermann

ReplayGainInfo: make IsDefined() constexpr

parent dbbcbc36
...@@ -39,8 +39,7 @@ struct ReplayGainTuple { ...@@ -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;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment