mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-31 03:00:05 +00:00
New class LeakedObjectDetector, and JUCE_LEAK_DETECTOR macros for spotting leakages in a neat, cross-platform way. Used these to replace all the old juce_UseDebuggingNewOperator stuff in all the classes. Also some drawable and component transform fixes.
This commit is contained in:
parent
1629f9f66a
commit
a5cf4030f5
374 changed files with 2064 additions and 3331 deletions
|
|
@ -263,8 +263,6 @@ public:
|
|||
}
|
||||
|
||||
//==============================================================================
|
||||
juce_UseDebuggingNewOperator
|
||||
|
||||
Font font;
|
||||
Colour colour;
|
||||
|
||||
|
|
@ -330,6 +328,7 @@ private:
|
|||
}
|
||||
|
||||
UniformTextSection& operator= (const UniformTextSection& other);
|
||||
JUCE_LEAK_DETECTOR (UniformTextSection);
|
||||
};
|
||||
|
||||
//==============================================================================
|
||||
|
|
@ -718,8 +717,6 @@ public:
|
|||
}
|
||||
|
||||
//==============================================================================
|
||||
juce_UseDebuggingNewOperator
|
||||
|
||||
int indexInText;
|
||||
float lineY, lineHeight, maxDescent;
|
||||
float atomX, atomRight;
|
||||
|
|
@ -753,6 +750,8 @@ private:
|
|||
{
|
||||
return (x - 0.0001f) >= wordWrapWidth;
|
||||
}
|
||||
|
||||
JUCE_LEAK_DETECTOR (Iterator);
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue