cpp11 static assert needs a message
This commit is contained in:
parent
02a1615e2d
commit
8212eb4966
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue