diff --git a/sfizz/LinearEnvelope.h b/sfizz/LinearEnvelope.h index e246629f..ae9b5927 100644 --- a/sfizz/LinearEnvelope.h +++ b/sfizz/LinearEnvelope.h @@ -44,7 +44,7 @@ public: void getBlock(absl::Span output); private: std::function function { [](Type input) { return input; } }; - static_assert(std::is_arithmetic::value); + static_assert(std::is_arithmetic::value, "Type should be arithmetic"); std::vector> events; int maxCapacity { config::defaultSamplesPerBlock }; Type currentValue { 0.0 };