diff --git a/src/sfizz/SfzHelpers.h b/src/sfizz/SfzHelpers.h index fb1d0636..838ac863 100644 --- a/src/sfizz/SfzHelpers.h +++ b/src/sfizz/SfzHelpers.h @@ -27,7 +27,7 @@ template struct CCData { int cc; ValueType data; - static_assert(config::numCCs - 1 < std::numeric_limits::max()); + static_assert(config::numCCs - 1 < std::numeric_limits::max(), "The cc type in the CCData struct cannot support the required number of CCs"); }; struct Modifier { @@ -35,7 +35,7 @@ struct Modifier { uint8_t curve { 0 }; uint8_t steps { 0 }; uint8_t smooth { 0 }; - static_assert(config::maxCurves - 1 <= std::numeric_limits::max()); + static_assert(config::maxCurves - 1 <= std::numeric_limits::max(), "The curve type in the Modifier struct cannot support the required number of curves"); }; template