mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-11 23:54:18 +00:00
Fixed the copy constructor and assignment operator of NormalisableRange
This commit is contained in:
parent
122f0b0c47
commit
710d27d74f
1 changed files with 9 additions and 1 deletions
|
|
@ -55,7 +55,10 @@ public:
|
|||
NormalisableRange (const NormalisableRange& other) noexcept
|
||||
: start (other.start), end (other.end),
|
||||
interval (other.interval), skew (other.skew),
|
||||
symmetricSkew (other.symmetricSkew)
|
||||
symmetricSkew (other.symmetricSkew),
|
||||
convertFrom0To1Function (other.convertFrom0To1Function),
|
||||
convertTo0To1Function (other.convertTo0To1Function),
|
||||
snapToLegalValueFunction (other.snapToLegalValueFunction)
|
||||
{
|
||||
checkInvariants();
|
||||
}
|
||||
|
|
@ -68,7 +71,12 @@ public:
|
|||
interval = other.interval;
|
||||
skew = other.skew;
|
||||
symmetricSkew = other.symmetricSkew;
|
||||
convertFrom0To1Function = other.convertFrom0To1Function;
|
||||
convertTo0To1Function = other.convertTo0To1Function;
|
||||
snapToLegalValueFunction = other.snapToLegalValueFunction;
|
||||
|
||||
checkInvariants();
|
||||
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue