mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-03 03:30:06 +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
|
|
@ -177,10 +177,8 @@ public:
|
|||
preferredHeight));
|
||||
}
|
||||
|
||||
//==============================================================================
|
||||
juce_UseDebuggingNewOperator
|
||||
|
||||
private:
|
||||
//==============================================================================
|
||||
AudioDeviceManager& deviceManager;
|
||||
const String noItemsMessage;
|
||||
StringArray items;
|
||||
|
|
@ -200,8 +198,7 @@ private:
|
|||
return getRowHeight() + 5;
|
||||
}
|
||||
|
||||
MidiInputSelectorComponentListBox (const MidiInputSelectorComponentListBox&);
|
||||
MidiInputSelectorComponentListBox& operator= (const MidiInputSelectorComponentListBox&);
|
||||
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (MidiInputSelectorComponentListBox);
|
||||
};
|
||||
|
||||
|
||||
|
|
@ -799,10 +796,8 @@ public:
|
|||
+ getOutlineThickness() * 2;
|
||||
}
|
||||
|
||||
//==============================================================================
|
||||
juce_UseDebuggingNewOperator
|
||||
|
||||
private:
|
||||
//==============================================================================
|
||||
const AudioIODeviceType::DeviceSetupDetails setup;
|
||||
const BoxType type;
|
||||
const String noItemsMessage;
|
||||
|
|
@ -893,8 +888,7 @@ public:
|
|||
return getRowHeight() + 5;
|
||||
}
|
||||
|
||||
ChannelSelectorListBox (const ChannelSelectorListBox&);
|
||||
ChannelSelectorListBox& operator= (const ChannelSelectorListBox&);
|
||||
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ChannelSelectorListBox);
|
||||
};
|
||||
|
||||
private:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue