| @@ -50,9 +50,9 @@ public: | |||||
| : start (other.start), end (other.end), | : start (other.start), end (other.end), | ||||
| interval (other.interval), skew (other.skew), | interval (other.interval), skew (other.skew), | ||||
| symmetricSkew (other.symmetricSkew), | symmetricSkew (other.symmetricSkew), | ||||
| convertFrom0To1Function (static_cast<ConverstionFunction&&> (other.convertFrom0To1Function)), | |||||
| convertTo0To1Function (static_cast<ConverstionFunction&&> (other.convertTo0To1Function)), | |||||
| snapToLegalValueFunction (static_cast<ConverstionFunction&&> (other.snapToLegalValueFunction)) | |||||
| convertFrom0To1Function (static_cast<ConversionFunction&&> (other.convertFrom0To1Function)), | |||||
| convertTo0To1Function (static_cast<ConversionFunction&&> (other.convertTo0To1Function)), | |||||
| snapToLegalValueFunction (static_cast<ConversionFunction&&> (other.snapToLegalValueFunction)) | |||||
| { | { | ||||
| } | } | ||||
| @@ -64,9 +64,9 @@ public: | |||||
| interval = other.interval; | interval = other.interval; | ||||
| skew = other.skew; | skew = other.skew; | ||||
| symmetricSkew = other.symmetricSkew; | symmetricSkew = other.symmetricSkew; | ||||
| convertFrom0To1Function = static_cast<ConverstionFunction&&> (other.convertFrom0To1Function); | |||||
| convertTo0To1Function = static_cast<ConverstionFunction&&> (other.convertTo0To1Function); | |||||
| snapToLegalValueFunction = static_cast<ConverstionFunction&&> (other.snapToLegalValueFunction); | |||||
| convertFrom0To1Function = static_cast<ConversionFunction&&> (other.convertFrom0To1Function); | |||||
| convertTo0To1Function = static_cast<ConversionFunction&&> (other.convertTo0To1Function); | |||||
| snapToLegalValueFunction = static_cast<ConversionFunction&&> (other.snapToLegalValueFunction); | |||||
| return *this; | return *this; | ||||
| } | } | ||||
| @@ -274,11 +274,11 @@ private: | |||||
| return clampedValue; | return clampedValue; | ||||
| } | } | ||||
| using ConverstionFunction = std::function<ValueType(ValueType, ValueType, ValueType)>; | |||||
| using ConversionFunction = std::function<ValueType(ValueType, ValueType, ValueType)>; | |||||
| ConverstionFunction convertFrom0To1Function = {}, | |||||
| convertTo0To1Function = {}, | |||||
| snapToLegalValueFunction = {}; | |||||
| ConversionFunction convertFrom0To1Function = {}, | |||||
| convertTo0To1Function = {}, | |||||
| snapToLegalValueFunction = {}; | |||||
| }; | }; | ||||
| } // namespace juce | } // namespace juce | ||||