From 8212eb4966fbbe24a4a7fcecea8d3f95b663f4bd Mon Sep 17 00:00:00 2001 From: Paul Ferrand Date: Tue, 6 Oct 2020 23:58:27 +0200 Subject: [PATCH] cpp11 static assert needs a message --- src/sfizz/Config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sfizz/Config.h b/src/sfizz/Config.h index eede94f2..378f4476 100644 --- a/src/sfizz/Config.h +++ b/src/sfizz/Config.h @@ -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