diff --git a/modules/juce_core/maths/juce_NormalisableRange.h b/modules/juce_core/maths/juce_NormalisableRange.h index e5bb1cd21c..92bc71c675 100644 --- a/modules/juce_core/maths/juce_NormalisableRange.h +++ b/modules/juce_core/maths/juce_NormalisableRange.h @@ -50,9 +50,9 @@ public: : start (other.start), end (other.end), interval (other.interval), skew (other.skew), symmetricSkew (other.symmetricSkew), - convertFrom0To1Function (static_cast (other.convertFrom0To1Function)), - convertTo0To1Function (static_cast (other.convertTo0To1Function)), - snapToLegalValueFunction (static_cast (other.snapToLegalValueFunction)) + convertFrom0To1Function (static_cast (other.convertFrom0To1Function)), + convertTo0To1Function (static_cast (other.convertTo0To1Function)), + snapToLegalValueFunction (static_cast (other.snapToLegalValueFunction)) { } @@ -64,9 +64,9 @@ public: interval = other.interval; skew = other.skew; symmetricSkew = other.symmetricSkew; - convertFrom0To1Function = static_cast (other.convertFrom0To1Function); - convertTo0To1Function = static_cast (other.convertTo0To1Function); - snapToLegalValueFunction = static_cast (other.snapToLegalValueFunction); + convertFrom0To1Function = static_cast (other.convertFrom0To1Function); + convertTo0To1Function = static_cast (other.convertTo0To1Function); + snapToLegalValueFunction = static_cast (other.snapToLegalValueFunction); return *this; } @@ -274,11 +274,11 @@ private: return clampedValue; } - using ConverstionFunction = std::function; + using ConversionFunction = std::function; - ConverstionFunction convertFrom0To1Function = {}, - convertTo0To1Function = {}, - snapToLegalValueFunction = {}; + ConversionFunction convertFrom0To1Function = {}, + convertTo0To1Function = {}, + snapToLegalValueFunction = {}; }; } // namespace juce