diff --git a/distrho/DistrhoPlugin.hpp b/distrho/DistrhoPlugin.hpp index b77d53d0..b23298f1 100644 --- a/distrho/DistrhoPlugin.hpp +++ b/distrho/DistrhoPlugin.hpp @@ -419,7 +419,7 @@ struct ParameterEnumerationValues { Constructor using custom values.@n The pointer to @values must have been allocated on the heap with `new`. */ - ParameterEnumerationValues(uint32_t c, bool r, const ParameterEnumerationValue* v) noexcept + ParameterEnumerationValues(uint32_t c, bool r, ParameterEnumerationValue* v) noexcept : count(c), restrictedMode(r), values(v) {}