From deed311a09c89f638ec3591770eda6b52c6b62fc Mon Sep 17 00:00:00 2001 From: falkTX Date: Mon, 9 Mar 2020 13:38:30 +0000 Subject: [PATCH] Remove specialized constructor for ParameterRanges, not needed Signed-off-by: falkTX --- distrho/DistrhoPlugin.hpp | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/distrho/DistrhoPlugin.hpp b/distrho/DistrhoPlugin.hpp index 6af382f1..62240109 100644 --- a/distrho/DistrhoPlugin.hpp +++ b/distrho/DistrhoPlugin.hpp @@ -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& il) - { - std::initializer_list::iterator ilit = il.begin(); - def = *(ilit++); - min = *(ilit++); - max = *(ilit++); - } -#endif - /** Fix the default value within range. */