mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-15 00:24:19 +00:00
Added precompiler sections to make NormalisableRange compatible with OS X 10.5
This commit is contained in:
parent
710d27d74f
commit
8b0354ff69
1 changed files with 8 additions and 4 deletions
|
|
@ -55,10 +55,12 @@ public:
|
|||
NormalisableRange (const NormalisableRange& other) noexcept
|
||||
: start (other.start), end (other.end),
|
||||
interval (other.interval), skew (other.skew),
|
||||
symmetricSkew (other.symmetricSkew),
|
||||
convertFrom0To1Function (other.convertFrom0To1Function),
|
||||
convertTo0To1Function (other.convertTo0To1Function),
|
||||
snapToLegalValueFunction (other.snapToLegalValueFunction)
|
||||
symmetricSkew (other.symmetricSkew)
|
||||
#if JUCE_COMPILER_SUPPORTS_LAMBDAS
|
||||
, convertFrom0To1Function (other.convertFrom0To1Function)
|
||||
, convertTo0To1Function (other.convertTo0To1Function)
|
||||
, snapToLegalValueFunction (other.snapToLegalValueFunction)
|
||||
#endif
|
||||
{
|
||||
checkInvariants();
|
||||
}
|
||||
|
|
@ -71,9 +73,11 @@ public:
|
|||
interval = other.interval;
|
||||
skew = other.skew;
|
||||
symmetricSkew = other.symmetricSkew;
|
||||
#if JUCE_COMPILER_SUPPORTS_LAMBDAS
|
||||
convertFrom0To1Function = other.convertFrom0To1Function;
|
||||
convertTo0To1Function = other.convertTo0To1Function;
|
||||
snapToLegalValueFunction = other.snapToLegalValueFunction;
|
||||
#endif
|
||||
|
||||
checkInvariants();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue