cpp11 static assert needs a message

This commit is contained in:
Paul Ferrand 2020-10-06 23:58:27 +02:00
parent 02a1615e2d
commit 8212eb4966

View file

@ -137,7 +137,7 @@ namespace config {
* due to engine polyphony being reached.
*/
static constexpr float overflowVoiceMultiplier { 1.5f };
static_assert(overflowVoiceMultiplier >= 1.0f);
static_assert(overflowVoiceMultiplier >= 1.0f, "This needs to add voices");
} // namespace config
} // namespace sfz