Browse Source

Fixed a typo

tags/2021-05-28
Tom Poole 7 years ago
parent
commit
1eb3de3312
1 changed files with 10 additions and 10 deletions
  1. +10
    -10
      modules/juce_core/maths/juce_NormalisableRange.h

+ 10
- 10
modules/juce_core/maths/juce_NormalisableRange.h View File

@@ -50,9 +50,9 @@ public:
: start (other.start), end (other.end),
interval (other.interval), skew (other.skew),
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;
skew = other.skew;
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;
}
@@ -274,11 +274,11 @@ private:
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

Loading…
Cancel
Save