Browse Source

Remove specialized constructor for ParameterRanges, not needed

Signed-off-by: falkTX <falktx@falktx.com>
pull/232/head
falkTX 5 years ago
parent
commit
deed311a09
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 0 additions and 14 deletions
  1. +0
    -14
      distrho/DistrhoPlugin.hpp

+ 0
- 14
distrho/DistrhoPlugin.hpp View File

@@ -207,20 +207,6 @@ struct ParameterRanges {
min(mn),
max(mx) {}

#ifdef DISTRHO_PROPER_CPP11_SUPPORT
/**
Constructor using an initializer list, like `{ 0.0f, 0.0f, 1.0f }`.
@note You MUST use 3 variables in the list!
*/
ParameterRanges(const std::initializer_list<float>& il)
{
std::initializer_list<float>::iterator ilit = il.begin();
def = *(ilit++);
min = *(ilit++);
max = *(ilit++);
}
#endif

/**
Fix the default value within range.
*/


Loading…
Cancel
Save